共用方式為


Utility.Key 類別

The Utility.Key class defines methods and properties that are used to identify the Utility within the System File Checker (SFC).

繼承階層

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Sdk.Sfc.DomainRootKey
      Microsoft.SqlServer.Management.Utility.Utility.Key

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

語法

'宣告
Public NotInheritable Class Key _
    Inherits DomainRootKey
'用途
Dim instance As Utility.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

Utility.Key 型別公開下列成員。

建構函式

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

上層

屬性

  名稱 說明
公用屬性 Domain 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 DomainRootKey。)
公用屬性 InstanceType Gets the type of the instance class associated with this key class. (繼承自 SfcKey。)

上層

方法

  名稱 說明
公用方法 Equals(Object) Determines the specified object is equal to the Utility.Key. (覆寫 SfcKey.Equals(Object)。)
公用方法 Equals(SfcKey) Determines the specified key is equal to the Utility.Key. (覆寫 SfcKey.Equals(SfcKey)。)
公用方法靜態成員 Equals(Object, Object) Determines the specified objects are equal.
公用方法 GetHashCode Returns the hash code for this instance. (覆寫 SfcKey.GetHashCode()。)
公用方法 GetType (繼承自 Object。)
公用方法 GetUrnFragment Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (覆寫 SfcKey.GetUrnFragment()。)
公用方法 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, Utility.Key) Determines whether the specified object and the right-hand side of the key are equal.
公用運算子靜態成員 Equality(Utility.Key, Utility.Key) Determines whether the specified left and right-hand sides of the key are equal.
公用運算子靜態成員 Equality(Utility.Key, Object) Determines whether the specified object and the left-hand side of the key are equal.
公用運算子靜態成員 Inequality(Object, Utility.Key) Determines whether the specified object and the right-hand side of the key are unequal.
公用運算子靜態成員 Inequality(Utility.Key, Utility.Key) Determines whether the specified right and left-hand sides of the key are unequal.
公用運算子靜態成員 Inequality(Utility.Key, Object) Determines whether the specified object and the left-hand side of the key are unequal.

上層

執行緒安全性

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

請參閱

參考

Microsoft.SqlServer.Management.Utility 命名空間