Delen via


WitnessDatabaseOption.WitnessServer Property

Gets or sets the witness server, if specified.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property WitnessServer As Literal 
    Get 
    Set
'Usage
Dim instance As WitnessDatabaseOption 
Dim value As Literal 

value = instance.WitnessServer

instance.WitnessServer = value
public Literal WitnessServer { get; set; }
public:
property Literal^ WitnessServer {
    Literal^ get ();
    void set (Literal^ value);
}
member WitnessServer : Literal with get, set
function get WitnessServer () : Literal 
function set WitnessServer (value : Literal)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.Literal
The witness server.

See Also

Reference

WitnessDatabaseOption Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace