次の方法で共有


ViewStatementBody.WithCheckOption プロパティ

With Check Option が定義されているかどうかを示す値を取得または設定します。

名前空間:  Microsoft.SqlServer.TransactSql.ScriptDom
アセンブリ:  Microsoft.SqlServer.TransactSql.ScriptDom (Microsoft.SqlServer.TransactSql.ScriptDom.dll)

構文

'宣言
Public Property WithCheckOption As Boolean 
    Get 
    Set
'使用
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)

プロパティ値

型: System.Boolean
With Check Option が定義されている場合は true、それ以外の場合は false。

関連項目

参照

ViewStatementBody クラス

Microsoft.SqlServer.TransactSql.ScriptDom 名前空間