Método ViewEventSet.Add (ViewEvent)
Adds a ViewEvent object to the ViewEventSet object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Function Add ( _
anEvent As ViewEvent _
) As ViewEventSet
'Uso
Dim instance As ViewEventSet
Dim anEvent As ViewEvent
Dim returnValue As ViewEventSet
returnValue = instance.Add(anEvent)
public ViewEventSet Add(
ViewEvent anEvent
)
public:
ViewEventSet^ Add(
ViewEvent^ anEvent
)
member Add :
anEvent:ViewEvent -> ViewEventSet
public function Add(
anEvent : ViewEvent
) : ViewEventSet
Parâmetros
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.ViewEvent
A ViewEvent object that is added to the ViewEventSet object.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object that contains the added ViewEvent object.