Opérateur Equality
Creates a database event set by performing an equality operation on two DatabaseEvent objects.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Operator = ( _
a As DatabaseEvent, _
b As DatabaseEvent _
) As Boolean
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- a
Type : Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies the database events.
- b
Type : Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies the database events.
Valeur de retour
Type : System. . :: . .Boolean
A DatabaseEventSet object value that specifies a set of database events.