Nevron .NET Vision
Nevron.Diagram Namespace / NConnectionContainer Class / DestroyConnection Method


In This Topic
    DestroyConnection Method (NConnectionContainer)
    In This Topic
    Called to destroy a connection between the specified ids
    Syntax
    'Declaration
     
    
    Public Overridable Function DestroyConnection( _
       ByVal uid1 As System.Guid, _
       ByVal uid2 As System.Guid _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NConnectionContainer
    Dim uid1 As System.Guid
    Dim uid2 As System.Guid
    Dim value As System.Boolean
     
    value = instance.DestroyConnection(uid1, uid2)
    public virtual System.bool DestroyConnection( 
       System.Guid uid1,
       System.Guid uid2
    )

    Parameters

    uid1
    uid2

    Return Value

    true if connection between uid1 and uid2 does not exist or has been destroyed, otherwise false
    Remarks
    If the attribute is connected to an event sink this method will fire the Disconnecting - Disconnected events pair. If the attribute is connected to a history service this method will also record the state of the container prior to the change.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also