Classe NamedDomainKey<T>

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

Gerarchia di ereditarietà

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

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

Sintassi

'Dichiarazione
Public Class NamedDomainKey(Of T As ISfcDomain) _
    Inherits DomainRootKey _
    Implements IEquatable(Of NamedDomainKey(Of T))
'Utilizzo
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 non supporta i metodi e i tipi generici.

Parametri di tipo

  • T
    The ISfcDomain

Nel tipo NamedDomainKey<T> sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico NamedDomainKey<T>() Initializes a new instance of the NamedDomainKey<T> class with default values.
Metodo pubblico NamedDomainKey<T>(ISfcDomain) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name.
Metodo pubblico NamedDomainKey<T>(ISfcDomain, IDictionary<String, Object>) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name and fields dictionary.
Metodo pubblico NamedDomainKey<T>(ISfcDomain, String) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name and given name.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Domain Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da DomainRootKey.
Proprietà pubblica InstanceType Gets the instance type which the current key represents. Esegue l'override di SfcKey.InstanceType.
Proprietà pubblica Name Gets the name key value.
Proprietà protetta UrnName Gets the Urn level name corresponding to the instance type which the specified key represents.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Compare a schema name key to this key for value equality. Esegue l'override di SfcKey.Equals(Object).
Metodo pubblico Equals(NamedDomainKey<T>) Compare a schema name key to this key for value equality.
Metodo pubblico Equals(SfcKey) Compare a schema name key to this key for value equality. Esegue l'override di SfcKey.Equals(SfcKey).
Metodo pubblicoMembro statico Equals(Object, Object) Returns whether the two key values are equal.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Generate a hash code for the key. Esegue l'override di SfcKey.GetHashCode().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Obtains a URN level fragment from the key name property by default. Esegue l'override di SfcKey.GetUrnFragment().
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Returns the string value for the key. Esegue l'override di SfcKey.ToString().

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Equality Returns whether the two keys are equal.
Operatore pubblicoMembro statico Inequality Returns whether the two keys are not equal.

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.Sdk.Sfc