StoredProcedureEventSet.Subtraction 연산자
Creates a stored procedure event set by performing a subtraction operation on a StoredProcedureEvent object and a StoredProcedureEventSet object.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Shared Operator - ( _
eventSet As StoredProcedureEventSet, _
anEvent As StoredProcedureEvent _
) As StoredProcedureEventSet
‘사용 방법
Dim eventSet As StoredProcedureEventSet
Dim anEvent As StoredProcedureEvent
Dim returnValue As StoredProcedureEventSet
returnValue = (eventSet - anEvent)
public static StoredProcedureEventSet operator -(
StoredProcedureEventSet eventSet,
StoredProcedureEvent anEvent
)
public:
static StoredProcedureEventSet^ operator -(
StoredProcedureEventSet^ eventSet,
StoredProcedureEvent^ anEvent
)
static let inline(-)
eventSet:StoredProcedureEventSet *
anEvent:StoredProcedureEvent : StoredProcedureEventSet
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.
매개 변수
- eventSet
유형: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the stored procedure event set.
- anEvent
유형: Microsoft.SqlServer.Management.Smo.StoredProcedureEvent
A StoredProcedureEvent object that specifies the stored procedure event.
반환 값
유형: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of stored procedure events.