The ManagedInstance.Key class represents the key that identifies the ManagedInstance class.
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
'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.
|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. (Inherited from SfcKey.)|
|Name||Gets the name of the object represented by the NameKey. (Inherited from NameKey.)|
|Equals(Object)||Determines whether the object represented by the NameKey is equal to the specified Object. (Inherited from NameKey.)|
|Equals(SfcKey)||Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (Inherited from NameKey.)|
|GetHashCode||Returns the hash code for this NameKey. (Inherited from NameKey.)|
|GetType||(Inherited from Object.)|
|GetUrnFragment||Gets the URN path partial string that represents the managed instance. (Overrides SfcKey.GetUrnFragment().)|
|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.)|
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.