TableEventSet.Add 方法 (TableEventSet, TableEvent)
Adds an event to the event set.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Shared Function Add ( _
eventSet As TableEventSet, _
anEvent As TableEvent _
) As TableEventSet
用法
Dim eventSet As TableEventSet
Dim anEvent As TableEvent
Dim returnValue As TableEventSet
returnValue = TableEventSet.Add(eventSet, _
anEvent)
public static TableEventSet Add(
TableEventSet eventSet,
TableEvent anEvent
)
public:
static TableEventSet^ Add(
TableEventSet^ eventSet,
TableEvent^ anEvent
)
static member Add :
eventSet:TableEventSet *
anEvent:TableEvent -> TableEventSet
public static function Add(
eventSet : TableEventSet,
anEvent : TableEvent
) : TableEventSet
参数
- eventSet
类型:Microsoft.SqlServer.Management.Smo.TableEventSet
The event set.
- anEvent
类型:Microsoft.SqlServer.Management.Smo.TableEvent
The table event.
返回值
类型:Microsoft.SqlServer.Management.Smo.TableEventSet
The added event to the event set.