Opérateur ServerEvent.Addition
Creates a server event set by performing an addition operation on two ServerEvent objects.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Operator + ( _
eventLeft As ServerEvent, _
eventRight As ServerEvent _
) As ServerEventSet
'Utilisation
Dim eventLeft As ServerEvent
Dim eventRight As ServerEvent
Dim returnValue As ServerEventSet
returnValue = (eventLeft + eventRight)
public static ServerEventSet operator +(
ServerEvent eventLeft,
ServerEvent eventRight
)
public:
static ServerEventSet^ operator +(
ServerEvent^ eventLeft,
ServerEvent^ eventRight
)
static let inline(+)
eventLeft:ServerEvent *
eventRight:ServerEvent : ServerEventSet
JScript prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- eventLeft
Type : Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that specifies the server events.
- eventRight
Type : Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that specifies the server events.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.ServerEventSet
A ServerEventSet object value that specifies a set of server events.