Condividi tramite


Classe ManagedInstance.Key

The ManagedInstance.Key class represents the key that identifies the ManagedInstance class.

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Utility.NameKey
      Microsoft.SqlServer.Management.Utility.ManagedInstance.Key

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

Sintassi

'Dichiarazione
Public NotInheritable Class Key _
    Inherits NameKey
'Utilizzo
Dim instance As ManagedInstance.Key
public sealed class Key : NameKey
public ref class Key sealed : public NameKey
[<SealedAttribute>]
type Key =  
    class 
        inherit NameKey 
    end
public final class Key extends NameKey

Nel tipo ManagedInstance.Key sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ManagedInstance.Key Initializes a new instance of the ManagedInstance.Key class that has the specified name.

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 represented by the NameKey. Ereditato da NameKey.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether the object represented by the NameKey is equal to the specified Object. Ereditato da NameKey.
Metodo pubblico Equals(SfcKey) Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. Ereditato da NameKey.
Metodo pubblico GetHashCode Returns the hash code for this NameKey. Ereditato da NameKey.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Gets the URN path partial string that represents the managed instance. 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

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.Utility