ObjectEventSet.Addition 运算符
Creates an object event set by performing an addition operation on an ObjectEvent object and an ObjectEventSet object.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Shared Operator + ( _
eventSet As ObjectEventSet, _
anEvent As ObjectEvent _
) As ObjectEventSet
用法
Dim eventSet As ObjectEventSet
Dim anEvent As ObjectEvent
Dim returnValue As ObjectEventSet
returnValue = (eventSet + anEvent)
public static ObjectEventSet operator +(
ObjectEventSet eventSet,
ObjectEvent anEvent
)
public:
static ObjectEventSet^ operator +(
ObjectEventSet^ eventSet,
ObjectEvent^ anEvent
)
static let inline(+)
eventSet:ObjectEventSet *
anEvent:ObjectEvent : ObjectEventSet
JScript 支持使用重载的运算符,但不支持声明新重载运算符。
参数
- eventSet
类型:Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object that specifies the object event set.
- anEvent
类型:Microsoft.SqlServer.Management.Smo.ObjectEvent
An ObjectEvent object that specifies the object events.
返回值
类型:Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object value that specifies a set of object events.