ServerDdlTriggerEventSet.Addition 運算子
Creates a server data definition language (DDL) trigger event set by performing an addition 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 命名空間