Operador ObjectEvent.Equality
Creates a object event set by performing an equality operation on two ObjectEvent objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Operator = ( _
a As ObjectEvent, _
b As ObjectEvent _
) As Boolean
'Uso
Dim a As ObjectEvent
Dim b As ObjectEvent
Dim returnValue As Boolean
returnValue = (a = b)
public static bool operator ==(
ObjectEvent a,
ObjectEvent b
)
public:
static bool operator ==(
ObjectEvent^ a,
ObjectEvent^ b
)
static let inline(=)
a:ObjectEvent *
b:ObjectEvent : bool
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- a
Tipo: Microsoft.SqlServer.Management.Smo.ObjectEvent
An ObjectEvent object that specifies the object events.
- b
Tipo: Microsoft.SqlServer.Management.Smo.ObjectEvent
An ObjectEvent object that specifies the object events.
Valor de retorno
Tipo: System.Boolean
An ObjectEventSet object value that specifies a set of object events.