Share via


ManagedInstance.Key Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
Public NotInheritable Class Key _
    Inherits NameKey
'Usage
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

The ManagedInstance.Key type exposes the following members.

Constructors

  Name Description
Public method ManagedInstance.Key Initializes a new instance of the ManagedInstance.Key class that has the specified name.

Top

Properties

  Name Description
Public property Name Gets the name of the object represented by the NameKey. (Inherited from NameKey.)

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the object represented by the NameKey is equal to the specified Object. (Inherited from NameKey.)
Public method Equals(SfcKey) Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (Inherited from NameKey.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for this NameKey. (Inherited from NameKey.)
Public method GetType (Inherited from Object.)
Public method GetUrnFragment Gets the URN path partial string that represents the managed instance. (Overrides SfcKey.GetUrnFragment().)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Do not reference this member directly in your code. It supports the SQL Server infrastructure. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Inherited from SfcKey.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.