次の方法で共有


SqlDeploymentOptions.CommentOutSetVarDeclarations プロパティ

SQLCMD 変数の宣言をスクリプト ヘッダーでコメント アウトするかどうかを指定するブール値を取得または設定します。

名前空間:  Microsoft.SqlServer.Dac.Deployment
アセンブリ:  Microsoft.SqlServer.Dac.Extensions (Microsoft.SqlServer.Dac.Extensions.dll)

構文

'宣言
Public ReadOnly Property CommentOutSetVarDeclarations As Boolean 
    Get
'使用
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

value = instance.CommentOutSetVarDeclarations
public bool CommentOutSetVarDeclarations { get; }
public:
property bool CommentOutSetVarDeclarations {
    bool get ();
}
member CommentOutSetVarDeclarations : bool
function get CommentOutSetVarDeclarations () : boolean

プロパティ値

型: System.Boolean
これらの宣言をコメント アウトする場合は true、それ以外の場合は false。既定値は false です。

関連項目

参照

SqlDeploymentOptions クラス

Microsoft.SqlServer.Dac.Deployment 名前空間