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