Share via


Classe ManagedInstance.Key

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
Public NotInheritable Class Key _
    Inherits NameKey
'Utilisation
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

Le type ManagedInstance..::..Key expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ManagedInstance. . :: . .Key Initializes a new instance of the ManagedInstance..::..Key class that has the specified name.

Haut de la page

Propriétés

  Nom Description
Propriété publique Name Gets the name of the object represented by the NameKey. (hérité de NameKey.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals(Object) Determines whether the object represented by the NameKey is equal to the specified Object. (hérité de NameKey.)
Méthode publique Equals(SfcKey) Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (hérité de NameKey.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Returns the hash code for this NameKey. (hérité de NameKey.)
Méthode publique GetType (hérité de Object.)
Méthode publique GetUrnFragment Gets the URN path partial string that represents the managed instance. (remplace SfcKey. . :: . .GetUrnFragment() () () ().)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (hérité de SfcKey.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.