다음을 통해 공유


Subtract 메서드

Returns a set of stored procedure events after subtracting a stored procedure event from the specified event set.

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

구문

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

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

매개 변수

반환 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of stored procedure events after the stored procedure event is subtracted.