Поделиться через


Класс ManagedInstance.Key

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Utility
Сборка:  Microsoft.SqlServer.Management.Utility (в 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
[<SealedAttribute>]
type Key =  
    class 
        inherit NameKey 
    end
public final class Key extends NameKey

Тип ManagedInstance.Key обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод 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. (Производный от SfcKey.)
Открытое свойство Name Gets the name of the object represented by the NameKey. (Производный от NameKey.)

В начало

Методы

  Имя Описание
Открытый метод Equals(Object) Determines whether the object represented by the NameKey is equal to the specified Object. (Производный от NameKey.)
Открытый метод Equals(SfcKey) Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (Производный от NameKey.)
Открытый метод GetHashCode Returns the hash code for this NameKey. (Производный от NameKey.)
Открытый метод GetType (Производный от Object.)
Открытый метод GetUrnFragment Gets the URN path partial string that represents the managed instance. (Переопределяет SfcKey.GetUrnFragment().)
Открытый метод ToString Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Производный от SfcKey.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Utility