adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DatabaseOperationTask Class / ServerName Property


In This Topic
    ServerName Property
    In This Topic
    The database server (host) name or address.
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Property ServerName As String
    [CanBeNull()]
    public string ServerName {get; set;}
    [CanBeNull()]
    public:
    property String^ ServerName {
       String^ get();
       void set (    String^ value);
    }
    Remarks

    To use a port other than the default, specify it using "servername:portnumber".

    For Oracle connections:

    • To connect using TNS, set ServerName to the TNS alias and leave DatabaseName empty.
    • To connect without TNS, set ServerName to the server host name and set DatabaseName to the service name.
    See Also