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 | |
---|---|---|
ManagedInstance.Key | Initializes a new instance of the ManagedInstance.Key class that has the specified name. |
Top
Properties
Name | Description | |
---|---|---|
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.) |
Top
Methods
Name | Description | |
---|---|---|
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.) |
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.