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