ViewStatementBody.WithCheckOption Property

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

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

Syntax

'Declaration
Public Property WithCheckOption As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

ViewStatementBody Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace