Addition opérateur
Creates an assembly event set by performing an addition operation on two SqlAssemblyEvent objects.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Operator + ( _
eventLeft As SqlAssemblyEvent, _
eventRight As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Utilisation
Dim eventLeft As SqlAssemblyEvent
Dim eventRight As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet
returnValue = (eventLeft + eventRight)
public static SqlAssemblyEventSet operator +(
SqlAssemblyEvent eventLeft,
SqlAssemblyEvent eventRight
)
public:
static SqlAssemblyEventSet^ operator +(
SqlAssemblyEvent^ eventLeft,
SqlAssemblyEvent^ eventRight
)
static let inline (+)
eventLeft:SqlAssemblyEvent *
eventRight:SqlAssemblyEvent : SqlAssemblyEventSet
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. . :: . .SqlAssemblyEvent
A SqlAssemblyEvent object that specifies the assembly event.
- eventRight
Type : Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEvent
A SqlAssemblyEvent object that specifies the assembly event.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .SqlAssemblyEventSet
A SqlAssemblyEventSet object value that specifies a set of two assembly events.