ManagedInstance.Key 类

The ManagedInstance.Key class represents the key that identifies the ManagedInstance class.

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Utility.NameKey
      Microsoft.SqlServer.Management.Utility.ManagedInstance.Key

命名空间:  Microsoft.SqlServer.Management.Utility
程序集:  Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)

语法

声明
Public NotInheritable Class Key _
    Inherits NameKey
用法
Dim instance As ManagedInstance.Key
public sealed class Key : NameKey
public ref class Key sealed : public NameKey
[<SealedAttribute>]
type Key =  
    class 
        inherit NameKey 
    end
public final class Key extends NameKey

ManagedInstance.Key 类型公开以下成员。

构造函数

  名称 说明
公共方法 ManagedInstance.Key Initializes a new instance of the ManagedInstance.Key class that has the specified name.

页首

属性

  名称 说明
公共属性 InstanceType Gets the type of the instance class associated with this key class. (从 SfcKey 继承。)
公共属性 Name Gets the name of the object represented by the NameKey. (从 NameKey 继承。)

页首

方法

  名称 说明
公共方法 Equals(Object) Determines whether the object represented by the NameKey is equal to the specified Object. (从 NameKey 继承。)
公共方法 Equals(SfcKey) Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (从 NameKey 继承。)
公共方法 GetHashCode Returns the hash code for this NameKey. (从 NameKey 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 GetUrnFragment Gets the URN path partial string that represents the managed instance. (覆盖 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 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Utility 命名空间