다음을 통해 공유


Subtract 메서드

Returns a set of database events after removing a database event from the specified event set.

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

구문

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

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEventSet object that specifies the database event set after removing the database event.