Partilhar via


Método Add (TableEvent)

Adds a TableEvent object to the TableEventSet object.

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

Sintaxe

'Declaração
Public Function Add ( _
    anEvent As TableEvent _
) As TableEventSet
'Uso
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

Parâmetros

Valor de retorno

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