Classe NamedDomainKey<T>

Represents the domain key with a string name for a general SFC domain root instance.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Sdk.Sfc.DomainRootKey
      Microsoft.SqlServer.Management.Sdk.Sfc.NamedDomainKey<T>

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

Syntaxe

'Déclaration
Public Class NamedDomainKey(Of T As ISfcDomain) _
    Inherits DomainRootKey _
    Implements IEquatable(Of NamedDomainKey(Of T))
'Utilisation
Dim instance As NamedDomainKey(Of T)
public class NamedDomainKey<T> : DomainRootKey, 
    IEquatable<NamedDomainKey<T>>
where T : ISfcDomain
generic<typename T>
where T : ISfcDomain 
public ref class NamedDomainKey : public DomainRootKey, 
    IEquatable<NamedDomainKey<T>^>
type NamedDomainKey<'T when 'T : ISfcDomain> =  
    class 
        inherit DomainRootKey 
        interface IEquatable<NamedDomainKey<'T>>
    end
JScript ne prend pas en charge les types et les méthodes génériques.

Paramètres de type

  • T
    The ISfcDomain

Le type NamedDomainKey<T> expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique NamedDomainKey<T>() Initializes a new instance of the NamedDomainKey<T> class with default values.
Méthode publique NamedDomainKey<T>(ISfcDomain) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name.
Méthode publique NamedDomainKey<T>(ISfcDomain, IDictionary<String, Object>) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name and fields dictionary.
Méthode publique NamedDomainKey<T>(ISfcDomain, String) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name and given name.

Haut de la page

Propriétés

  Nom Description
Propriété publique Domain Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de DomainRootKey.)
Propriété publique InstanceType Gets the instance type which the current key represents. (remplace SfcKey.InstanceType.)
Propriété publique Name Gets the name key value.
Propriété protégée UrnName Gets the Urn level name corresponding to the instance type which the specified key represents.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals(Object) Compare a schema name key to this key for value equality. (remplace SfcKey.Equals(Object).)
Méthode publique Equals(NamedDomainKey<T>) Compare a schema name key to this key for value equality.
Méthode publique Equals(SfcKey) Compare a schema name key to this key for value equality. (remplace SfcKey.Equals(SfcKey).)
Méthode publiqueMembre statique Equals(Object, Object) Returns whether the two key values are equal.
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Generate a hash code for the key. (remplace SfcKey.GetHashCode().)
Méthode publique GetType (hérité de Object.)
Méthode publique GetUrnFragment Obtains a URN level fragment from the key name property by default. (remplace SfcKey.GetUrnFragment().)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Returns the string value for the key. (remplace SfcKey.ToString().)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality Returns whether the two keys are equal.
Opérateur publicMembre statique Inequality Returns whether the two keys are not equal.

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.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc