Metodo ViewEventSet.Add (ViewEvent)
Adds a ViewEvent object to the ViewEventSet object.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Function Add ( _
anEvent As ViewEvent _
) As ViewEventSet
'Utilizzo
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
Parametri
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.ViewEvent
A ViewEvent object that is added to the ViewEventSet object.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object that contains the added ViewEvent object.