TableEventSet.Add 方法 (TableEvent)
Adds a TableEvent object to the TableEventSet object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function Add ( _
anEvent As TableEvent _
) As TableEventSet
'用途
Dim instance As TableEventSet
Dim anEvent As TableEvent
Dim returnValue As TableEventSet
returnValue = instance.Add(anEvent)
public TableEventSet Add(
TableEvent anEvent
)
public:
TableEventSet^ Add(
TableEvent^ anEvent
)
member Add :
anEvent:TableEvent -> TableEventSet
public function Add(
anEvent : TableEvent
) : TableEventSet
參數
- anEvent
型別:Microsoft.SqlServer.Management.Smo.TableEvent
A TableEvent object that is added to the TableEventSet object.
傳回值
型別:Microsoft.SqlServer.Management.Smo.TableEventSet
A TableEventSet object that contains the added TableEvent object.