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