Condividi tramite


Classe RegisteredServer.Key

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilizzo
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

Nel tipo RegisteredServer.Key sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico RegisteredServer.Key() Initializes a new instance of the RegisteredServer.Key class.
Metodo pubblico RegisteredServer.Key(String) Initializes a new instance of the RegisteredServer.Key class that has the specified name.
Metodo pubblico RegisteredServer.Key(RegisteredServer.Key) Initializes a new instance of the RegisteredServer.Key class based on the referenced key object.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica InstanceType Gets the type of the instance class associated with this key class. Ereditato da SfcKey.
Proprietà pubblica Name Gets the name of the object key.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether the object passed as a parameter is a key. Esegue l'override di SfcKey.Equals(Object).
Metodo pubblico Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. Esegue l'override di SfcKey.Equals(SfcKey).
Metodo pubblicoMembro statico Equals(Object, Object) Determines whether the two object keys are equal.
Metodo pubblico GetHashCode Returns the hash code of the specified key. Esegue l'override di SfcKey.GetHashCode().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Gets the unique resource name path of the specified key. Esegue l'override di SfcKey.GetUrnFragment().
Metodo pubblico ToString Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. Ereditato da SfcKey.

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Equality(Object, RegisteredServer.Key) Determines whether two objects are equal by performing an equality operation on them with the object and right operator specified.
Operatore pubblicoMembro statico 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.
Operatore pubblicoMembro statico Equality(RegisteredServer.Key, Object) Determines whether two objects are equal by performing an equality operation on them with the object and left operator specified.
Operatore pubblicoMembro statico Inequality(Object, RegisteredServer.Key) Determines whether two objects are equal by performing an inequality operation on them using the specified object and right operator.
Operatore pubblicoMembro statico 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.
Operatore pubblicoMembro statico 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 alto

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.RegisteredServers