Export (0) Print
Expand All

ManagedInstance.Key Class

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

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)

public sealed class Key : NameKey

The ManagedInstance.Key type exposes the following members.

  NameDescription
Public methodManagedInstance.KeyInitializes a new instance of the ManagedInstance.Key class that has the specified name.
Top

  NameDescription
Public propertyInstanceTypeGets the type of the instance class associated with this key class. (Inherited from SfcKey.)
Public propertyNameGets the name of the object represented by the NameKey. (Inherited from NameKey.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the object represented by the NameKey is equal to the specified Object. (Inherited from NameKey.)
Public methodEquals(SfcKey)Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (Inherited from NameKey.)
Public methodGetHashCodeReturns the hash code for this NameKey. (Inherited from NameKey.)
Public methodGetType (Inherited from Object.)
Public methodGetUrnFragmentGets the URN path partial string that represents the managed instance. (Overrides SfcKey.GetUrnFragment().)
Public methodToStringDo 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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft