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 命名空间