Partager via


Méthode Equals (SfcKey)

Determines whether the specified object key is equal to the referenced object key.

Espace de noms :  Microsoft.SqlServer.Management.RegisteredServers
Assembly :  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntaxe

'Déclaration
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'Utilisation
Dim instance As RegisteredServer..::..Key
Dim key As SfcKey
Dim returnValue As Boolean

returnValue = instance.Equals(key)
public override bool Equals(
    SfcKey key
)
public:
virtual bool Equals(
    SfcKey^ key
) override
abstract Equals : 
        key:SfcKey -> bool 
override Equals : 
        key:SfcKey -> bool 
public override function Equals(
    key : SfcKey
) : boolean

Paramètres

Valeur de retour

Type : System. . :: . .Boolean
true if the object is a key; otherwise, false.

Implémente

IEquatable< (Of < ( <'T> ) > ) >. . :: . .Equals(T)