ManagedInstance.Key Class

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

Inheritance Hierarchy


Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in 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
type Key =  
        inherit NameKey 
public final class Key extends NameKey

The ManagedInstance.Key type exposes the following members.


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



  Name Description
Public property InstanceType Gets the type of the instance class associated with this key class. (Inherited from SfcKey.)
Public property Name Gets the name of the object represented by the NameKey. (Inherited from NameKey.)



  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.)
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().)
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.)


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.

See Also


Microsoft.SqlServer.Management.Utility Namespace