共用方式為


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.

上層

屬性

  名稱 說明
公用屬性 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。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 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() () () ()。)
受保護的方法 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。)

上層

執行緒安全性

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