Opérateur ServerEvent.Equality
Creates a server event set by performing an equality operation on two ServerEvent 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 ServerEvent, _
b As ServerEvent _
) As Boolean
'Utilisation
Dim a As ServerEvent
Dim b As ServerEvent
Dim returnValue As Boolean
returnValue = (a = b)
public static bool operator ==(
ServerEvent a,
ServerEvent b
)
public:
static bool operator ==(
ServerEvent^ a,
ServerEvent^ b
)
static let inline(=)
a:ServerEvent *
b:ServerEvent : 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.ServerEvent
A ServerEvent object that specifies the server events.
- b
Type : Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that specifies the server events.
Valeur de retour
Type : System.Boolean
A ServerEventSet object value that specifies a set of server events.