Subtract méthode
Subtracts a ObjectEvent from a [T:Microsoft.SqlServer.Management.Smo.ObjectEventSet.]
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Function Subtract ( _
eventSet As ObjectEventSet, _
anEvent As ObjectEvent _
) As ObjectEventSet
'Utilisation
Dim eventSet As ObjectEventSet
Dim anEvent As ObjectEvent
Dim returnValue As ObjectEventSet
returnValue = ObjectEventSet.Subtract(eventSet, _
anEvent)
public static ObjectEventSet Subtract(
ObjectEventSet eventSet,
ObjectEvent anEvent
)
public:
static ObjectEventSet^ Subtract(
ObjectEventSet^ eventSet,
ObjectEvent^ anEvent
)
static member Subtract :
eventSet:ObjectEventSet *
anEvent:ObjectEvent -> ObjectEventSet
public static function Subtract(
eventSet : ObjectEventSet,
anEvent : ObjectEvent
) : ObjectEventSet
Paramètres
- eventSet
Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
ObjectEventSet that will have the Object Event deleted.
- anEvent
Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectEvent
ObjectEvent to be deleted.
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
ObjectEventSet
Voir aussi