Partilhar via


Propriedade do RDL ViewStatementBody.WithCheckOption

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

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

Sintaxe

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

Valor da propriedade

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

Consulte também

Referência

ViewStatementBody Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom