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