Partager via


Propriété WitnessDatabaseOption.IsOff

Gets or sets whether the OFF option is specified.

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
Public Property IsOff As Boolean 
    Get 
    Set
'Utilisation
Dim instance As WitnessDatabaseOption 
Dim value As Boolean 

value = instance.IsOff

instance.IsOff = value
public bool IsOff { get; set; }
public:
property bool IsOff {
    bool get ();
    void set (bool value);
}
member IsOff : bool with get, set
function get IsOff () : boolean 
function set IsOff (value : boolean)

Valeur de propriété

Type : System.Boolean
true if the OFF option is specified; otherwise, false.

Voir aussi

Référence

WitnessDatabaseOption Classe

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom