Partager via


Propriété ViewStatementBody.WithCheckOption

Gets or sets a value that indicates whether With Check Option is defined.

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

Syntaxe

'Déclaration
Public Property WithCheckOption As Boolean 
    Get 
    Set
'Utilisation
Dim instance As ViewStatementBody 
Dim value As Boolean 

value = instance.WithCheckOption

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

Valeur de propriété

Type : System.Boolean
True if With Check Option is defined; otherwise, false.

Voir aussi

Référence

ViewStatementBody Classe

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom