Classe NameKey

Identifies Microsoft.SqlServer.Utility objects that use a name property as an Sfc key.

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 MustInherit Class NameKey _
    Inherits SfcKey
'Utilisation
Dim instance As NameKey
public abstract class NameKey : SfcKey
public ref class NameKey abstract : public SfcKey
[<AbstractClassAttribute>]
type NameKey =  
    class
        inherit SfcKey
    end
public abstract class NameKey extends SfcKey

Le type NameKey expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique NameKey Initializes a new instance of the NameKey class with the specified key name.

Haut de la page

Propriétés

  Nom Description
Propriété publique Name Gets the name of the object represented by the 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. (remplace SfcKey. . :: . .Equals(Object).)
Méthode publique Equals(SfcKey) Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (remplace SfcKey. . :: . .Equals(SfcKey).)
Méthode publiqueMembre statique Equals(Object, Object) Determines whether the two specified objects are equal.
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Returns the hash code for this NameKey. (remplace SfcKey. . :: . .GetHashCode() () () ().)
Méthode publique GetType (hérité de Object.)
Méthode publique GetUrnFragment Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets the unique resource name (URN) path partial string that represents the object identified by the current [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].. (hérité de SfcKey.)
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

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality(Object, NameKey) Determines whether the the specified Object is the same as the object represented by the specified NameKey .
Opérateur publicMembre statique Equality(NameKey, NameKey) Determines whether the objects represented by the two specified NameKey values are the same.
Opérateur publicMembre statique Equality(NameKey, Object) Determines whether the object represented by the specified NameKey is the same as the specified Object.
Opérateur publicMembre statique Inequality(Object, NameKey) Determines whether the the specified Object is different than the object represented by the specified NameKey .
Opérateur publicMembre statique Inequality(NameKey, NameKey) Determines whether the objects represented by the two specified NameKey values are different.
Opérateur publicMembre statique Inequality(NameKey, Object) Determines whether the object represented by the specified NameKey is different than the specified Object.

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.