Opérateur ServerDdlTriggerEvent.BitwiseOr
Creates a server event set by performing a bitwise OR operation on two ServerDdlTriggerEvent objects.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)
Syntaxe
'Déclaration
Public Shared Operator Or ( _
eventLeft As ServerDdlTriggerEvent, _
eventRight As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Utilisation
Dim eventLeft As ServerDdlTriggerEvent
Dim eventRight As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet
returnValue = (eventLeft Or eventRight)
public static ServerDdlTriggerEventSet operator |(
ServerDdlTriggerEvent eventLeft,
ServerDdlTriggerEvent eventRight
)
public:
static ServerDdlTriggerEventSet^ operator |(
ServerDdlTriggerEvent^ eventLeft,
ServerDdlTriggerEvent^ eventRight
)
static let inline(|||)
eventLeft:ServerDdlTriggerEvent *
eventRight:ServerDdlTriggerEvent : ServerDdlTriggerEventSet
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.ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the server DDL events.
- eventRight
Type : Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the server DDL events.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL events.