Compartilhar via


Propriedade do RDL WitnessDatabaseOption.WitnessServer

Gets or sets the witness server, if specified.

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

Sintaxe

'Declaração
Public Property WitnessServer As Literal 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

WitnessDatabaseOption Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom