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 | |
---|---|---|
NameKey | Initializes a new instance of the NameKey class with the specified key name. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (hérité de SfcKey.) | |
Name | Gets the name of the object represented by the NameKey. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals(Object) | Determines whether the object represented by the NameKey is equal to the specified Object. (remplace SfcKey.Equals(Object).) | |
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).) | |
Equals(Object, Object) | Determines whether the two specified objects are equal. | |
Finalize | (hérité de Object.) | |
GetHashCode | Returns the hash code for this NameKey. (remplace SfcKey.GetHashCode().) | |
GetType | (hérité de Object.) | |
GetUrnFragment | Ne faites pas directement référence à 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.) | |
MemberwiseClone | (hérité de Object.) | |
ToString | Ne faites pas directement référence à 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 | |
---|---|---|
Equality(Object, NameKey) | Determines whether the the specified Object is the same as the object represented by the specified NameKey . | |
Equality(NameKey, NameKey) | Determines whether the objects represented by the two specified NameKey values are the same. | |
Equality(NameKey, Object) | Determines whether the object represented by the specified NameKey is the same as the specified Object. | |
Inequality(Object, NameKey) | Determines whether the the specified Object is different than the object represented by the specified NameKey . | |
Inequality(NameKey, NameKey) | Determines whether the objects represented by the two specified NameKey values are different. | |
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.