Operador Subtraction
Creates a set of scripting options by performing an subtraction operation on a ScriptingOptions object and a ScriptOption object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Operator - ( _
options As ScriptingOptions, _
scriptOption As ScriptOption _
) As ScriptingOptions
'Uso
Dim options As ScriptingOptions
Dim scriptOption As ScriptOption
Dim returnValue As ScriptingOptions
returnValue = (options - scriptOption)
public static ScriptingOptions operator -(
ScriptingOptions options,
ScriptOption scriptOption
)
public:
static ScriptingOptions^ operator -(
ScriptingOptions^ options,
ScriptOption^ scriptOption
)
static let inline (-)
options:ScriptingOptions *
scriptOption:ScriptOption : ScriptingOptions
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- options
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that specifies the scripting options.
- scriptOption
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
A ScriptOption object that specifies the script option.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object value that specifies a set of scripting options after the subtraction.
Consulte também