IncludeIfNotExists 属性

获取一个对象,该对象指定在脚本中包括某一对象前是否检查该对象的存在。

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Shared ReadOnly Property IncludeIfNotExists As ScriptOption
    Get
用法
Dim value As ScriptOption

value = ScriptOption.IncludeIfNotExists
public static ScriptOption IncludeIfNotExists { get; }
public:
static property ScriptOption^ IncludeIfNotExists {
    ScriptOption^ get ();
}
static member IncludeIfNotExists : ScriptOption
static function get IncludeIfNotExists () : ScriptOption

属性值

类型:Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
一个 ScriptOption 对象,该对象表示脚本选项中的 IncludeIfNotExists

示例

脚本撰写