Freigeben über


NamedDomainKey<T>-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Class NamedDomainKey(Of T As ISfcDomain) _
    Inherits DomainRootKey _
    Implements IEquatable(Of NamedDomainKey(Of T))
'Usage
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 bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.

Typparameter

  • T
    The ISfcDomain

Der NamedDomainKey<T>-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode NamedDomainKey<T>() Initializes a new instance of the NamedDomainKey<T> class with default values.
Öffentliche Methode NamedDomainKey<T>(ISfcDomain) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name.
Öffentliche Methode NamedDomainKey<T>(ISfcDomain, IDictionary<String, Object>) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name and fields dictionary.
Öffentliche Methode NamedDomainKey<T>(ISfcDomain, String) Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name and given name.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Domain Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von DomainRootKey.)
Öffentliche Eigenschaft InstanceType Gets the instance type which the current key represents. (Überschreibt SfcKey.InstanceType.)
Öffentliche Eigenschaft Name Gets the name key value.
Geschützte Eigenschaft UrnName Gets the Urn level name corresponding to the instance type which the specified key represents.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals(Object) Compare a schema name key to this key for value equality. (Überschreibt SfcKey.Equals(Object).)
Öffentliche Methode Equals(NamedDomainKey<T>) Compare a schema name key to this key for value equality.
Öffentliche Methode Equals(SfcKey) Compare a schema name key to this key for value equality. (Überschreibt SfcKey.Equals(SfcKey).)
Öffentliche MethodeStatisches Element Equals(Object, Object) Returns whether the two key values are equal.
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode Generate a hash code for the key. (Überschreibt SfcKey.GetHashCode().)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode GetUrnFragment Obtains a URN level fragment from the key name property by default. (Überschreibt SfcKey.GetUrnFragment().)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString Returns the string value for the key. (Überschreibt SfcKey.ToString().)

Zum Anfang

Operatoren

  Name Beschreibung
Öffentlicher OperatorStatisches Element Equality Returns whether the two keys are equal.
Öffentlicher OperatorStatisches Element Inequality Returns whether the two keys are not equal.

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace