Opérateur Addition
Creates an assembly event set by performing an addition operation on a SqlAssemblyEvent object and a SqlAssemblyEventSet 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 SqlAssemblyEventSet, _
anEvent As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Utilisation
Dim eventSet As SqlAssemblyEventSet
Dim anEvent As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet
returnValue = (eventSet + anEvent)
public static SqlAssemblyEventSet operator +(
SqlAssemblyEventSet eventSet,
SqlAssemblyEvent anEvent
)
public:
static SqlAssemblyEventSet^ operator +(
SqlAssemblyEventSet^ eventSet,
SqlAssemblyEvent^ anEvent
)
static let inline (+)
eventSet:SqlAssemblyEventSet *
anEvent:SqlAssemblyEvent : SqlAssemblyEventSet
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. . :: . .SqlAssemblyEventSet
A SqlAssemblyEventSet object that specifies the assembly event set.
- anEvent
Type : Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEvent
A SqlAssemblyEvent object that specifies the assembly events.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEventSet
A SqlAssemblyEventSet object value that specifies a set of assembly events.