adTempus API
ArcanaDevelopment.adTempus.Client Namespace / Scheduler 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 (Scheduler)
    In This Topic
    Returns a connection descriptor to use with Connect methods when connecting to a non-standard port or named instance.
    Syntax
    'Declaration
     
    
    Public Shared Function BuildConnectionDescriptor( _
       ByVal computerName As String, _
       ByVal portNumber As Nullable(Of Integer), _
       ByVal instanceName As String _
    ) As String
    public static string BuildConnectionDescriptor( 
       string computerName,
       Nullable<int> portNumber,
       string instanceName
    )
    public:
    static 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