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