NamedDomainKey<T> Class
Represents the domain key with a string name for a general SFC domain root instance.
Inheritance Hierarchy
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 does not support generic types and methods.
Type Parameters
- T
The ISfcDomain
The NamedDomainKey<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Domain | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from DomainRootKey.) | |
InstanceType | Gets the instance type which the current key represents. (Overrides SfcKey.InstanceType.) | |
Name | Gets the name key value. | |
UrnName | Gets the Urn level name corresponding to the instance type which the specified key represents. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Compare a schema name key to this key for value equality. (Overrides 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. (Overrides SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Returns whether the two key values are equal. | |
Finalize | (Inherited from Object.) | |
GetHashCode | Generate a hash code for the key. (Overrides SfcKey.GetHashCode().) | |
GetType | (Inherited from Object.) | |
GetUrnFragment | Obtains a URN level fragment from the key name property by default. (Overrides SfcKey.GetUrnFragment().) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns the string value for the key. (Overrides SfcKey.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Returns whether the two keys are equal. | |
Inequality | Returns whether the two keys are not equal. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.