Delen via


TableEventSet.Add Method (TableEvent)

Adds a TableEvent object to the TableEventSet object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function Add ( _
    anEvent As TableEvent _
) As TableEventSet
'Usage
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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.TableEventSet
A TableEventSet object that contains the added TableEvent object.