Méthode StoredProcedureEventSet.Add (StoredProcedureEvent)
Returns a set of stored procedure events after adding a new stored procedure event to the referenced event set.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function Add ( _
anEvent As StoredProcedureEvent _
) As StoredProcedureEventSet
'Utilisation
Dim instance As StoredProcedureEventSet
Dim anEvent As StoredProcedureEvent
Dim returnValue As StoredProcedureEventSet
returnValue = instance.Add(anEvent)
public StoredProcedureEventSet Add(
StoredProcedureEvent anEvent
)
public:
StoredProcedureEventSet^ Add(
StoredProcedureEvent^ anEvent
)
member Add :
anEvent:StoredProcedureEvent -> StoredProcedureEventSet
public function Add(
anEvent : StoredProcedureEvent
) : StoredProcedureEventSet
Paramètres
- anEvent
Type : Microsoft.SqlServer.Management.Smo.StoredProcedureEvent
A StoredProcedureEvent object that is added to the event set.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the stored procedure event set after the new event is added.