Compartilhar via


Método Equals (SfcKey)

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

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (em Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxe

'Declaração
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

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

Implementa

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