Equality Operador
Creates a database event set by performing an equality operation on two DatabaseEvent objects.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Shared Operator = ( _
a As DatabaseEvent, _
b As DatabaseEvent _
) As Boolean
'Uso
Dim a As DatabaseEvent
Dim b As DatabaseEvent
Dim returnValue As Boolean
returnValue = (a = b)
public static bool operator ==(
DatabaseEvent a,
DatabaseEvent b
)
public:
static bool operator ==(
DatabaseEvent^ a,
DatabaseEvent^ b
)
static let inline (=)
a:DatabaseEvent *
b:DatabaseEvent : bool
JScript admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.
Parámetros
- a
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies the database events.
- b
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies the database events.
Valor devuelto
Tipo: System. . :: . .Boolean
A DatabaseEventSet object value that specifies a set of database events.
Vea también