Méthode ViewEventSet.Add (ViewEvent)
Adds a ViewEvent object to the ViewEventSet object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function Add ( _
anEvent As ViewEvent _
) As ViewEventSet
'Utilisation
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
Paramètres
- anEvent
Type : Microsoft.SqlServer.Management.Smo.ViewEvent
A ViewEvent object that is added to the ViewEventSet object.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object that contains the added ViewEvent object.