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