SqlAssemblyEventSet.Subtract 메서드

Returns an SQL assembly event set after subtracting a new SQL assembly event from the specified event set.

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


Public Shared Function Subtract ( _
    eventSet As SqlAssemblyEventSet, _
    anEvent As SqlAssemblyEvent _
) As SqlAssemblyEventSet
‘사용 방법
Dim eventSet As SqlAssemblyEventSet 
Dim anEvent As SqlAssemblyEvent 
Dim returnValue As SqlAssemblyEventSet 

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
An SqlAssemblyEventSet object value that specifies the set of SQL assembly events after the event has been subtracted.

SMO 이벤트 처리

참고 항목


SqlAssemblyEventSet 클래스

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