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 ServerEvent _
) As ServerEventSet
'Utilisation
Dim instance As ServerEventSet
Dim anEvent As ServerEvent
Dim returnValue As ServerEventSet

returnValue = instance.Remove(anEvent)
public ServerEventSet Remove(
    ServerEvent anEvent
)
public:
ServerEventSet^ Remove(
    ServerEvent^ anEvent
)
member Remove : 
        anEvent:ServerEvent -> ServerEventSet 
public function Remove(
    anEvent : ServerEvent
) : ServerEventSet

Paramètres

Valeur de retour

Type : Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object value that specifies the event set less the event removed.