Operador DatabaseDdlTriggerEvent.Addition
Creates a database ddl trigger event set by performing an addition operation on two DatabaseDdlTriggerEvent objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (em Microsoft.SqlServer.SqlEnum.dll)
Sintaxe
'Declaração
Public Shared Operator + ( _
eventLeft As DatabaseDdlTriggerEvent, _
eventRight As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Uso
Dim eventLeft As DatabaseDdlTriggerEvent
Dim eventRight As DatabaseDdlTriggerEvent
Dim returnValue As DatabaseDdlTriggerEventSet
returnValue = (eventLeft + eventRight)
public static DatabaseDdlTriggerEventSet operator +(
DatabaseDdlTriggerEvent eventLeft,
DatabaseDdlTriggerEvent eventRight
)
public:
static DatabaseDdlTriggerEventSet^ operator +(
DatabaseDdlTriggerEvent^ eventLeft,
DatabaseDdlTriggerEvent^ eventRight
)
static let inline(+)
eventLeft:DatabaseDdlTriggerEvent *
eventRight:DatabaseDdlTriggerEvent : DatabaseDdlTriggerEventSet
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- eventLeft
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEvent
A DatabaseDdlTriggerEvent object that specifies one of the events to add.
- eventRight
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEvent
A DatabaseDdlTriggerEvent object that specifies one of the events to add.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object value that specifies a set of database ddl trigger events.