Addition 運算子
Creates a database data definition language (DDL) trigger event set by performing an addition operation on a DatabaseDdlTriggerEvent object and a DatabaseDdlTriggerEventSet object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)
語法
'宣告
Public Shared Operator + ( _
eventSet As DatabaseDdlTriggerEventSet, _
anEvent As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'用途
Dim eventSet As DatabaseDdlTriggerEventSet
Dim anEvent As DatabaseDdlTriggerEvent
Dim returnValue As DatabaseDdlTriggerEventSet
returnValue = (eventSet + anEvent)
public static DatabaseDdlTriggerEventSet operator +(
DatabaseDdlTriggerEventSet eventSet,
DatabaseDdlTriggerEvent anEvent
)
public:
static DatabaseDdlTriggerEventSet^ operator +(
DatabaseDdlTriggerEventSet^ eventSet,
DatabaseDdlTriggerEvent^ anEvent
)
static let inline (+)
eventSet:DatabaseDdlTriggerEventSet *
anEvent:DatabaseDdlTriggerEvent : DatabaseDdlTriggerEventSet
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- eventSet
型別:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object that specifies the database DDL trigger event set.
- anEvent
型別:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseDdlTriggerEvent
A DatabaseDdlTriggerEvent object that specifies the database DDL trigger events.
傳回值
型別:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object value that specifies a set of database DDL trigger events.