Operatore SqlAssemblyEventSet.Subtraction
Creates an assembly event set by performing a subtraction operation on a SqlAssemblyEvent object and a SqlAssemblyEventSet object.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Shared Operator - ( _
eventSet As SqlAssemblyEventSet, _
anEvent As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Utilizzo
Dim eventSet As SqlAssemblyEventSet
Dim anEvent As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet
returnValue = (eventSet - anEvent)
public static SqlAssemblyEventSet operator -(
SqlAssemblyEventSet eventSet,
SqlAssemblyEvent anEvent
)
public:
static SqlAssemblyEventSet^ operator -(
SqlAssemblyEventSet^ eventSet,
SqlAssemblyEvent^ anEvent
)
static let inline(-)
eventSet:SqlAssemblyEventSet *
anEvent:SqlAssemblyEvent : SqlAssemblyEventSet
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.
Parametri
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
A SqlAssemblyEventSet object that specifies the assembly event set.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
A SqlAssemblyEvent object that specifies the assembly events.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
A SqlAssemblyEventSet object value that specifies a set of assembly events.