Opérateur ServerDdlTriggerEventSet.Addition
Creates a server data definition language (DDL) trigger event set by performing an addition operation on a ServerDdlTriggerEvent object and a ServerDdlTriggerEventSet object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)
Syntaxe
'Déclaration
Public Shared Operator + ( _
eventSet As ServerDdlTriggerEventSet, _
anEvent As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Utilisation
Dim eventSet As ServerDdlTriggerEventSet
Dim anEvent As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet
returnValue = (eventSet + anEvent)
public static ServerDdlTriggerEventSet operator +(
ServerDdlTriggerEventSet eventSet,
ServerDdlTriggerEvent anEvent
)
public:
static ServerDdlTriggerEventSet^ operator +(
ServerDdlTriggerEventSet^ eventSet,
ServerDdlTriggerEvent^ anEvent
)
static let inline(+)
eventSet:ServerDdlTriggerEventSet *
anEvent:ServerDdlTriggerEvent : ServerDdlTriggerEventSet
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.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object that specifies the server DDL trigger event set.
- anEvent
Type : Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the server DDL trigger events.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL trigger events.
Exemples
Voir aussi
Référence
ServerDdlTriggerEventSet Classe
Espace de noms Microsoft.SqlServer.Management.Smo