WitnessDatabaseOption.WitnessServer 屬性
Gets or sets the witness server, if specified.
命名空間: Microsoft.SqlServer.TransactSql.ScriptDom
組件: Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)
語法
'宣告
Public Property WitnessServer As Literal
Get
Set
'用途
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)
屬性值
型別:Microsoft.SqlServer.TransactSql.ScriptDom.Literal
The witness server.