DicomObjects Reference
DicomObjects Reference / DicomConnection Object / SetDestination Method
Network address (as dotted notation or resolvable name) to which the association is to be made.
Port on which remote application is listening.
Name to quote for this Application Entity
Name of remote Application Entity.
SetDestination Method
Description
Open outgoing DICOM association
Syntax
Visual Basic
Public Sub SetDestination( _
   ByVal Node As String, _
   ByVal Port As Integer, _
   ByVal CallingAE As String, _
   ByVal CalledAE As String _
) 
Parameters
Node
Network address (as dotted notation or resolvable name) to which the association is to be made.
Port
Port on which remote application is listening.
CallingAE
Name to quote for this Application Entity
CalledAE
Name of remote Application Entity.
Remarks

This method can be used either on directly created DicomConnection objects, or on incoming DicomConnections, where a C-MOVE has been requested. 
Unless Mode=doSync, this method returns immediately, the association is established with the remote application entity asynchronously, and an ActionComplete event is generated once the association has been established.
If errors occur during association establishment, they are reported via the DicomViewer or DicomServer’s InfoMessage event procedure if Mode is doAsync or doNosync, or as trappable errors if Mode is doSync

As the DICOM standard only permits a C-MOVE request to contain an application entity title, client applications must look up this title in their own tables, to find suitable values for the parameters to this method.

See Also