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.