DomainRootKey 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
領域根的金鑰必須繼承自此類別,而非 SfcKey
public abstract class DomainRootKey : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
type DomainRootKey = class
inherit SfcKey
Public MustInherit Class DomainRootKey
Inherits SfcKey
- 繼承
- 衍生
建構函式
| 名稱 | Description |
|---|---|
| DomainRootKey(ISfcDomain) |
領域根的金鑰必須繼承自此類別,而非 SfcKey |
屬性
| 名稱 | Description |
|---|---|
| Domain |
領域根的金鑰必須繼承自此類別,而非 SfcKey |
| InstanceType |
與此金鑰類別相關聯的實例類別類型。 預設 impl 是巢狀金鑰類別為了與現有模型相容而採用的做法。 此設定應在任何非該實例類型的巢狀類別的鍵類別中覆寫。 (繼承來源 SfcKey) |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
每個金鑰必須對其資料成員進行適當的值比較。 不要像 Object 一樣只依賴參考資料的一致性檢查。 (繼承來源 SfcKey) |
| Equals(SfcKey) |
領域根的金鑰必須繼承自此類別,而非 SfcKey (繼承來源 SfcKey) |
| GetHashCode() |
每個金鑰必須為其資料成員提供合理的雜湊碼。 內部字串可以使用其預設的雜湊碼,數值也可以直接使用,或透過位元移位並截斷為整數。多個內部資料的雜湊碼通常可以 XOR 組合起來,產生不錯的結果。 (繼承來源 SfcKey) |
| GetUrnFragment() |
每個金鑰必須實作如何產生有效的 XPath 導向身份字串片段,該片段用於從 SfcKeyChain 的 Key[] 建構完整且有效的 Urn。 (繼承來源 SfcKey) |
| ToString() |
每把鑰匙 (繼承來源 SfcKey) |