Operador ServerDdlTriggerEventSet.Subtraction
Creates a server data definition language (DDL) trigger event set by performing a subtraction operation on a ServerDdlTriggerEvent object and a ServerDdlTriggerEventSet object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (em Microsoft.SqlServer.SqlEnum.dll)
Sintaxe
'Declaração
Public Shared Operator - ( _
eventSet As ServerDdlTriggerEventSet, _
anEvent As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Uso
Dim eventSet As ServerDdlTriggerEventSet
Dim anEvent As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet
returnValue = (eventSet - anEvent)
public static ServerDdlTriggerEventSet operator -(
ServerDdlTriggerEventSet eventSet,
ServerDdlTriggerEvent anEvent
)
public:
static ServerDdlTriggerEventSet^ operator -(
ServerDdlTriggerEventSet^ eventSet,
ServerDdlTriggerEvent^ anEvent
)
static let inline(-)
eventSet:ServerDdlTriggerEventSet *
anEvent:ServerDdlTriggerEvent : ServerDdlTriggerEventSet
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object that specifies the server DDL trigger event set.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the server DDL trigger events.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL trigger events.
Exemplos
Consulte também
Referência
ServerDdlTriggerEventSet Classe
Namespace Microsoft.SqlServer.Management.Smo