共用方式為


DacDomain.Key 類別

The DacDomain..::..Key class contains the key that identifies the DacDomain class.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
    Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .DomainRootKey
      Microsoft.SqlServer.Management.Dac..::..DacDomain..::..Key

命名空間:  Microsoft.SqlServer.Management.Dac
組件:  Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)

語法

'宣告
Public NotInheritable Class Key _
    Inherits DomainRootKey
'用途
Dim instance As DacDomain.Key
public sealed class Key : DomainRootKey
public ref class Key sealed : public DomainRootKey
[<SealedAttribute>]
type Key =  
    class
        inherit DomainRootKey
    end
public final class Key extends DomainRootKey

DacDomain..::..Key 型別公開下列成員。

建構函式

  名稱 說明
公用方法 DacDomain. . :: . .Key Initializes a new instance of the DacDomain..::..Key class.

上層

屬性

  名稱 說明
公用屬性 Domain 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 DomainRootKey。)

上層

方法

  名稱 說明
公用方法 Equals(Object) Determines whether the specified object is equal to the DAC domain represented by the DacDomain..::..Key object. (覆寫 SfcKey. . :: . .Equals(Object)。)
公用方法 Equals(SfcKey) Determines whether the object associated with the specified SFC key is equal to the DAC domain represented by the DacDomain..::..Key object. (覆寫 SfcKey. . :: . .Equals(SfcKey)。)
公用方法靜態成員 Equals(Object, Object) Determines whether two objects are equal.
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode Gets the hash code for the DAC domain key. (覆寫 SfcKey. . :: . .GetHashCode() () () ()。)
公用方法 GetType (繼承自 Object。)
公用方法 GetUrnFragment Gets the partial unique resource name (URN) path string that represents the DAC store. (覆寫 SfcKey. . :: . .GetUrnFragment() () () ()。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Returns a String value that is a sortable representation of the object that can be used in external comparers. (繼承自 SfcKey。)

上層

運算子

  名稱 說明
公用運算子靜態成員 Equality(Object, DacDomain. . :: . .Key) Performs a Boolean equality operation to determine whether a specified object is the same as the DAC domain associated with a specified DACDomain key.
公用運算子靜態成員 Equality(DacDomain. . :: . .Key, DacDomain. . :: . .Key) Performs a Boolean equality operation to determine whether two DACDomain keys reference the same DAC domain.
公用運算子靜態成員 Equality(DacDomain. . :: . .Key, Object) Performs a Boolean equality operation to determine whether a specified object is the same as the DAC domain associated with a specified DACDomain key.
公用運算子靜態成員 Inequality(Object, DacDomain. . :: . .Key) Performs a Boolean inequality operation to determine whether a specified object is different than the DAC domain associated with a specified DACDomain key.
公用運算子靜態成員 Inequality(DacDomain. . :: . .Key, DacDomain. . :: . .Key) Performs a Boolean inequality operation to determine whether two DACDomain keys reference different DAC domains.
公用運算子靜態成員 Inequality(DacDomain. . :: . .Key, Object) Performs a Boolean inequality operation to determine whether a specified object is different than the DAC domain associated with a specified DACDomain key.

上層

備註

Thread Safety

此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。