Visual Basic (Declaration) | |
---|---|
Public Function IsConnected() As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomNet Dim value As Boolean value = instance.IsConnected() |
C# | |
---|---|
public bool IsConnected() |
C++/CLI | |
---|---|
public: bool IsConnected(); |
Return Value
true if a connection has been established; otherwise, false.For an example, refer to Leadtools.Dicom.DicomNet.SendAssociateRequest.
A connection is created by an SCU calling Connect(String,Int32,String,Int32) and the SCP responding by calling Accept. If this has occurred successfully, this method will return true. Otherwise, it will return false.
For more information on creating a connection, refer to Creating a DICOM Network Connection.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)