SqlSchemaDeploymentOptions.CommentOutSetVarDeclarations 属性

获取或设置一个值,指示是否应在生成的同步脚本中注释掉 SETVAR 声明。

命名空间:  Microsoft.Data.Schema.Sql.Build
程序集:  Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)

语法

声明
Public Property CommentOutSetVarDeclarations As Boolean
    Get
    Set
public bool CommentOutSetVarDeclarations { get; set; }
public:
property bool CommentOutSetVarDeclarations {
    bool get ();
    void set (bool value);
}
member CommentOutSetVarDeclarations : bool with get, set
function get CommentOutSetVarDeclarations () : boolean
function set CommentOutSetVarDeclarations (value : boolean)

属性值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

SqlSchemaDeploymentOptions 类

Microsoft.Data.Schema.Sql.Build 命名空间