共用方式為


NamedDomainKey<T> 類別

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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間