Partager via


Remove méthode

Removes an event from the event set.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function Remove ( _
    anEvent As ObjectEvent _
) As ObjectEventSet
'Utilisation
Dim instance As ObjectEventSet
Dim anEvent As ObjectEvent
Dim returnValue As ObjectEventSet

returnValue = instance.Remove(anEvent)
public ObjectEventSet Remove(
    ObjectEvent anEvent
)
public:
ObjectEventSet^ Remove(
    ObjectEvent^ anEvent
)
member Remove : 
        anEvent:ObjectEvent -> ObjectEventSet 
public function Remove(
    anEvent : ObjectEvent
) : ObjectEventSet

Paramètres

Valeur de retour

Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object that represents the object event set.