adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / ConnectionDescriptor Class / BuildConnectionDescriptor Method
The name or IP address of the computer to connect to. Use a null reference (Nothing in Visual Basic) or empty for local computer
The port to connect to. Specify a null reference (Nothing in Visual Basic) to use the default port
The instance to connect to. Use a null reference (Nothing in Visual Basic) or empty for default instance


In This Topic
    BuildConnectionDescriptor Method (ConnectionDescriptor)
    In This Topic
    Creates a ConnectionDescriptor for the specified parameters and returns a string representation
    Syntax
    'Declaration
     
    
    <PureAttribute()>
    Public Shared Function BuildConnectionDescriptor( _
       ByVal computerName As String, _
       ByVal portNumber As Nullable(Of Integer), _
       ByVal instanceName As String _
    ) As String
    [Pure()]
    public static string BuildConnectionDescriptor( 
       string computerName,
       Nullable<int> portNumber,
       string instanceName
    )
    [Pure()]
    public:
    static String^ BuildConnectionDescriptor( 
       String^ computerName,
       Nullable<int> portNumber,
       String^ instanceName
    ) 

    Parameters

    computerName
    The name or IP address of the computer to connect to. Use a null reference (Nothing in Visual Basic) or empty for local computer
    portNumber
    The port to connect to. Specify a null reference (Nothing in Visual Basic) to use the default port
    instanceName
    The instance to connect to. Use a null reference (Nothing in Visual Basic) or empty for default instance
    See Also