Add méthode (ObjectEvent)
Adds an ObjectEvent object to the ObjectEventSet object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function Add ( _
anEvent As ObjectEvent _
) As ObjectEventSet
'Utilisation
Dim instance As ObjectEventSet
Dim anEvent As ObjectEvent
Dim returnValue As ObjectEventSet
returnValue = instance.Add(anEvent)
public ObjectEventSet Add(
ObjectEvent anEvent
)
public:
ObjectEventSet^ Add(
ObjectEvent^ anEvent
)
member Add :
anEvent:ObjectEvent -> ObjectEventSet
public function Add(
anEvent : ObjectEvent
) : ObjectEventSet
Paramètres
- anEvent
Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectEvent
An ObjectEvent object that is added to the ObjectEventSet object.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object that contains the added ObjectEvent object.