共用方式為


IncludeIfNotExists 屬性

Gets an object that specifies whether to check the existence of an object before including it in the script.

命名空間:  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
A ScriptOption object that represents the IncludeIfNotExistsin the scripting options.

範例

指令碼