ServerDdlTriggerEventSet.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.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间