Delen via


ScriptOption.IncludeIfNotExists Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property IncludeIfNotExists As ScriptOption
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the IncludeIfNotExistsin the scripting options.

Examples

Scripting