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