다음을 통해 공유


BitwiseOr 연산자

Creates a server event set by performing a bitwise OR operation on two ServerEvent objects.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Shared Operator Or ( _
    eventLeft As ServerEvent, _
    eventRight As ServerEvent _
) As ServerEventSet
‘사용 방법
Dim eventLeft As ServerEvent
Dim eventRight As ServerEvent
Dim returnValue As ServerEventSet

returnValue = (eventLeft Or eventRight)
public static ServerEventSet operator |(
    ServerEvent eventLeft,
    ServerEvent eventRight
)
public:
static ServerEventSet^ operator |(
    ServerEvent^ eventLeft, 
    ServerEvent^ eventRight
)
static let inline (|||)
        eventLeft:ServerEvent * 
        eventRight:ServerEvent  : ServerEventSet
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object value that specifies a set of server events.