adTempus API
ArcanaDevelopment.adTempus.Client Namespace / Application Class / BuildConnectionDescriptor Method
The name or IP address of the target computer.
The port number, or a null reference (Nothing in Visual Basic) for the default adTempus port (3760).
The name of the adTempus instance, or an empty string for the default instance.


In This Topic
    BuildConnectionDescriptor Method (Application)
    In This Topic
    Returns a connection descriptor to use with Connect(String,LoginAuthenticationType,String,String) method when connecting to a non-standard port or named instance.
    Syntax
    'Declaration
     
    
    Public Function BuildConnectionDescriptor( _
       ByVal computerName As String, _
       ByVal portNumber As Nullable(Of Integer), _
       ByVal instanceName As String _
    ) As String
    public string BuildConnectionDescriptor( 
       string computerName,
       Nullable<int> portNumber,
       string instanceName
    )
    public:
    String^ BuildConnectionDescriptor( 
       String^ computerName,
       Nullable<int> portNumber,
       String^ instanceName
    ) 

    Parameters

    computerName
    The name or IP address of the target computer.
    portNumber
    The port number, or a null reference (Nothing in Visual Basic) for the default adTempus port (3760).
    instanceName
    The name of the adTempus instance, or an empty string for the default instance.

    Return Value

    A string with the connection descriptor suitable for use with the Connect methods.
    Remarks
    A connection descriptor uses the following format: computerName,portNumber\instanceName
    See Also