다음을 통해 공유


ObjectEventSet.Subtract 메서드

Subtracts a ObjectEvent from a [T:Microsoft.SqlServer.Management.Smo.ObjectEventSet.]

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

구문

‘선언
Public Shared Function Subtract ( _
    eventSet As ObjectEventSet, _
    anEvent As ObjectEvent _
) As ObjectEventSet
‘사용 방법
Dim eventSet As ObjectEventSet 
Dim anEvent As ObjectEvent 
Dim returnValue As ObjectEventSet 

returnValue = ObjectEventSet.Subtract(eventSet, _
    anEvent)
public static ObjectEventSet Subtract(
    ObjectEventSet eventSet,
    ObjectEvent anEvent
)
public:
static ObjectEventSet^ Subtract(
    ObjectEventSet^ eventSet, 
    ObjectEvent^ anEvent
)
static member Subtract : 
        eventSet:ObjectEventSet * 
        anEvent:ObjectEvent -> ObjectEventSet
public static function Subtract(
    eventSet : ObjectEventSet, 
    anEvent : ObjectEvent
) : ObjectEventSet

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object that contains the subtracted ObjectEvent object.

SMO 이벤트 처리

참고 항목

참조

ObjectEventSet 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스