Método TableEventSet.Add (TableEventSet, TableEvent)
Adds an event to the event set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Function Add ( _
eventSet As TableEventSet, _
anEvent As TableEvent _
) As TableEventSet
'Uso
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
Parâmetros
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo.TableEventSet
The event set.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.TableEvent
The table event.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.TableEventSet
The added event to the event set.