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 | |
---|---|---|
NamedDomainKey<T>() | Initializes a new instance of the NamedDomainKey<T> class with default values. | |
NamedDomainKey<T>(ISfcDomain) | Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name. | |
NamedDomainKey<T>(ISfcDomain, IDictionary<String, Object>) | Initializes a new instance of the NamedDomainKey<T> class with specified domain instance name and fields dictionary. | |
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 | |
---|---|---|
Domain | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von DomainRootKey.) | |
InstanceType | Gets the instance type which the current key represents. (Überschreibt SfcKey.InstanceType.) | |
Name | Gets the name key value. | |
UrnName | Gets the Urn level name corresponding to the instance type which the specified key represents. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals(Object) | Compare a schema name key to this key for value equality. (Überschreibt SfcKey.Equals(Object).) | |
Equals(NamedDomainKey<T>) | Compare a schema name key to this key for value equality. | |
Equals(SfcKey) | Compare a schema name key to this key for value equality. (Überschreibt SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Returns whether the two key values are equal. | |
Finalize | (Geerbt von Object.) | |
GetHashCode | Generate a hash code for the key. (Überschreibt SfcKey.GetHashCode().) | |
GetType | (Geerbt von Object.) | |
GetUrnFragment | Obtains a URN level fragment from the key name property by default. (Überschreibt SfcKey.GetUrnFragment().) | |
MemberwiseClone | (Geerbt von Object.) | |
ToString | Returns the string value for the key. (Überschreibt SfcKey.ToString().) |
Zum Anfang
Operatoren
Name | Beschreibung | |
---|---|---|
Equality | Returns whether the two keys are equal. | |
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.