Méthode ScriptingOptions.Subtract
Subtracts the specified ScriptOption value from the specified ScriptingOptions object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Function Subtract ( _
options As ScriptingOptions, _
scriptOption As ScriptOption _
) As ScriptingOptions
'Utilisation
Dim options As ScriptingOptions
Dim scriptOption As ScriptOption
Dim returnValue As ScriptingOptions
returnValue = ScriptingOptions.Subtract(options, _
scriptOption)
public static ScriptingOptions Subtract(
ScriptingOptions options,
ScriptOption scriptOption
)
public:
static ScriptingOptions^ Subtract(
ScriptingOptions^ options,
ScriptOption^ scriptOption
)
static member Subtract :
options:ScriptingOptions *
scriptOption:ScriptOption -> ScriptingOptions
public static function Subtract(
options : ScriptingOptions,
scriptOption : ScriptOption
) : ScriptingOptions
Paramètres
- options
Type : Microsoft.SqlServer.Management.Smo.ScriptingOptions
The ScriptingOptions value to be subtracted from.
- scriptOption
Type : Microsoft.SqlServer.Management.Smo.ScriptOption
The ScriptOption value to subtract from the ScriptingOptions object.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions value that contains all of the scripting options specified by the options parameter minus the ScriptOption specified by the scriptOption parameter.