Compartilhar via


Classe RegisteredServer.Key

Represents the property that is associated with the object that is used to uniquely identify the object.

Hierarquia de herança

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
    Microsoft.SqlServer.Management.RegisteredServers..::..RegisteredServer..::..Key

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

Sintaxe

'Declaração
Public NotInheritable Class Key _
    Inherits SfcKey
'Uso
Dim instance As RegisteredServer.Key
public sealed class Key : SfcKey
public ref class Key sealed : public SfcKey
[<SealedAttribute>]
type Key =  
    class
        inherit SfcKey
    end
public final class Key extends SfcKey

O tipo RegisteredServer..::..Key expõe os membros a seguir.

Construtores

  Nome Descrição
Método público RegisteredServer. . :: . .Key() () () () Initializes a new instance of the RegisteredServer..::..Key class.
Método público RegisteredServer. . :: . .Key(String) Initializes a new instance of the RegisteredServer..::..Key class that has the specified name.
Método público RegisteredServer. . :: . .Key(RegisteredServer. . :: . .Key) Initializes a new instance of the RegisteredServer..::..Key class based on the referenced key object.

Início

Propriedades

  Nome Descrição
Propriedade pública Name Gets the name of the object key.

Início

Métodos

  Nome Descrição
Método público Equals(Object) Determines whether the object passed as a parameter is a key. (Substitui SfcKey. . :: . .Equals(Object).)
Método público Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. (Substitui SfcKey. . :: . .Equals(SfcKey).)
Método públicoMembro estático Equals(Object, Object) Determines whether the two object keys are equal.
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode Returns the hash code of the specified key. (Substitui SfcKey. . :: . .GetHashCode() () () ().)
Método público GetType (Herdado de Object.)
Método público GetUrnFragment Gets the unique resource name path of the specified key. (Substitui SfcKey. . :: . .GetUrnFragment() () () ().)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Herdado de SfcKey.)

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Equality(Object, RegisteredServer. . :: . .Key) Determines whether two objects are equal by performing an equality operation on them with the object and right operator specified.
Operador públicoMembro estático Equality(RegisteredServer. . :: . .Key, RegisteredServer. . :: . .Key) Determines whether two objects are equal by performing an equality operation on them using the specified left operator and right operator.
Operador públicoMembro estático Equality(RegisteredServer. . :: . .Key, Object) Determines whether two objects are equal by performing an equality operation on them with the object and left operator specified.
Operador públicoMembro estático Inequality(Object, RegisteredServer. . :: . .Key) Determines whether two objects are equal by performing an inequality operation on them using the specified object and right operator.
Operador públicoMembro estático Inequality(RegisteredServer. . :: . .Key, RegisteredServer. . :: . .Key) Determines whether two objects are equal by performing an inequality operation on them using the left operator and right operator.
Operador públicoMembro estático Inequality(RegisteredServer. . :: . .Key, Object) Determines whether two objects are equal by performing an inequality operation on them using the specified object and left operator.

Início

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.