Condividi tramite


Classe ServerGroup.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.ServerGroup.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 ServerGroup.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 ServerGroup.Key sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ServerGroup.Key() Initializes a new instance of the ServerGroup.Key class.
Metodo pubblico ServerGroup.Key(String) Initializes a new instance of the ServerGroup.Key class that has the specified name.
Metodo pubblico ServerGroup.Key(ServerGroup.Key) Initializes a new instance of the ServerGroup.Key class that is 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 a String value that specifies the name of the server group key.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether the specified Object is equal to the server group represented by the ServerGroup.Key object. Esegue l'override di SfcKey.Equals(Object).
Metodo pubblico Equals(SfcKey) Determines whether the object identified by the specified Key is equal to the server group represented by the ServerGroup.Key object. Esegue l'override di SfcKey.Equals(SfcKey).
Metodo pubblicoMembro statico Equals(Object, Object) Determines whether the two specified objects are the same.
Metodo pubblico GetHashCode Gets the hash code for the server group. Esegue l'override di SfcKey.GetHashCode().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Gets the partial unique resource name (URN) path string that represents the server group. 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, ServerGroup.Key) Determines whether the object identified by a Object is the same as the object identified by a ServerGroup.Key.
Operatore pubblicoMembro statico Equality(ServerGroup.Key, ServerGroup.Key) Determines whether the objects identified by two ServerGroup.Key objects are the same.
Operatore pubblicoMembro statico Equality(ServerGroup.Key, Object) Determines whether the object identified by a Object is the same as the object identified by a ServerGroup.Key.
Operatore pubblicoMembro statico Inequality(Object, ServerGroup.Key) Determines whether the object identified by a Object is different than the object identified by a RegisteredServersStore.Key.
Operatore pubblicoMembro statico Inequality(ServerGroup.Key, ServerGroup.Key) Determines whether the objects identified by two ServerGroup.Key objects are different.
Operatore pubblicoMembro statico Inequality(ServerGroup.Key, Object) Determines whether the object identified by a Object is different than the object identified by a RegisteredServersStore.Key.

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