Operador Subtraction
Creates a stored procedure event set by performing a subtraction operation on a StoredProcedureEvent object and a StoredProcedureEventSet object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Operator - ( _
eventSet As StoredProcedureEventSet, _
anEvent As StoredProcedureEvent _
) As StoredProcedureEventSet
'Uso
Dim eventSet As StoredProcedureEventSet
Dim anEvent As StoredProcedureEvent
Dim returnValue As StoredProcedureEventSet
returnValue = (eventSet - anEvent)
public static StoredProcedureEventSet operator -(
StoredProcedureEventSet eventSet,
StoredProcedureEvent anEvent
)
public:
static StoredProcedureEventSet^ operator -(
StoredProcedureEventSet^ eventSet,
StoredProcedureEvent^ anEvent
)
static let inline (-)
eventSet:StoredProcedureEventSet *
anEvent:StoredProcedureEvent : StoredProcedureEventSet
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the stored procedure event set.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEvent
A StoredProcedureEvent object that specifies the stored procedure event.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of stored procedure events.
Consulte também