Represents the domain key with a string name for a general SFC domain root instance.
繼承階層
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Sdk.Sfc.DomainRootKey
Microsoft.SqlServer.Management.Sdk.Sfc.NamedDomainKey<T>
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Class NamedDomainKey(Of T As ISfcDomain) _
Inherits DomainRootKey _
Implements IEquatable(Of NamedDomainKey(Of T))
'用途
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 不支援一般類型和方法。
型別參數
- T
The ISfcDomain
NamedDomainKey<T> 型別公開下列成員。
建構函式
| 名稱 | 說明 | |
|---|---|---|
![]() |
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. |
上層
屬性
| 名稱 | 說明 | |
|---|---|---|
![]() |
Domain | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 DomainRootKey。) |
![]() |
InstanceType | Gets the instance type which the current key represents. (覆寫 SfcKey.InstanceType。) |
![]() |
Name | Gets the name key value. |
![]() |
UrnName | Gets the Urn level name corresponding to the instance type which the specified key represents. |
上層
方法
| 名稱 | 說明 | |
|---|---|---|
![]() |
Equals(Object) | Compare a schema name key to this key for value equality. (覆寫 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. (覆寫 SfcKey.Equals(SfcKey)。) |
![]() ![]() |
Equals(Object, Object) | Returns whether the two key values are equal. |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetHashCode | Generate a hash code for the key. (覆寫 SfcKey.GetHashCode()。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
GetUrnFragment | Obtains a URN level fragment from the key name property by default. (覆寫 SfcKey.GetUrnFragment()。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
ToString | Returns the string value for the key. (覆寫 SfcKey.ToString()。) |
上層
運算子
| 名稱 | 說明 | |
|---|---|---|
![]() ![]() |
Equality | Returns whether the two keys are equal. |
![]() ![]() |
Inequality | Returns whether the two keys are not equal. |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)