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