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


Класс DacDomain.Key

The DacDomain..::..Key class contains the key that identifies the DacDomain class.

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

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
    Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .DomainRootKey
      Microsoft.SqlServer.Management.Dac..::..DacDomain..::..Key

Пространство имен:  Microsoft.SqlServer.Management.Dac
Сборка:  Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)

Синтаксис

'Декларация
Public NotInheritable Class Key _
    Inherits DomainRootKey
'Применение
Dim instance As DacDomain.Key
public sealed class Key : DomainRootKey
public ref class Key sealed : public DomainRootKey
[<SealedAttribute>]
type Key =  
    class
        inherit DomainRootKey
    end
public final class Key extends DomainRootKey

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

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

  Имя Описание
Открытый метод DacDomain. . :: . .Key Initializes a new instance of the DacDomain..::..Key class.

В начало

Свойства

  Имя Описание
Открытое свойство Domain Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от DomainRootKey.)

В начало

Методы

  Имя Описание
Открытый метод Equals(Object) Determines whether the specified object is equal to the DAC domain represented by the DacDomain..::..Key object. (Переопределяет SfcKey. . :: . .Equals(Object).)
Открытый метод Equals(SfcKey) Determines whether the object associated with the specified SFC key is equal to the DAC domain represented by the DacDomain..::..Key object. (Переопределяет SfcKey. . :: . .Equals(SfcKey).)
Открытый методСтатический элемент Equals(Object, Object) Determines whether two objects are equal.
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode Gets the hash code for the DAC domain key. (Переопределяет SfcKey. . :: . .GetHashCode() () () ().)
Открытый метод GetType (Производный от Object.)
Открытый метод GetUrnFragment Gets the partial unique resource name (URN) path string that represents the DAC store. (Переопределяет SfcKey. . :: . .GetUrnFragment() () () ().)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Производный от SfcKey.)

В начало

Операторы

  Имя Описание
Открытый операторСтатический элемент Equality(Object, DacDomain. . :: . .Key) Performs a Boolean equality operation to determine whether a specified object is the same as the DAC domain associated with a specified DACDomain key.
Открытый операторСтатический элемент Equality(DacDomain. . :: . .Key, DacDomain. . :: . .Key) Performs a Boolean equality operation to determine whether two DACDomain keys reference the same DAC domain.
Открытый операторСтатический элемент Equality(DacDomain. . :: . .Key, Object) Performs a Boolean equality operation to determine whether a specified object is the same as the DAC domain associated with a specified DACDomain key.
Открытый операторСтатический элемент Inequality(Object, DacDomain. . :: . .Key) Performs a Boolean inequality operation to determine whether a specified object is different than the DAC domain associated with a specified DACDomain key.
Открытый операторСтатический элемент Inequality(DacDomain. . :: . .Key, DacDomain. . :: . .Key) Performs a Boolean inequality operation to determine whether two DACDomain keys reference different DAC domains.
Открытый операторСтатический элемент Inequality(DacDomain. . :: . .Key, Object) Performs a Boolean inequality operation to determine whether a specified object is different than the DAC domain associated with a specified DACDomain key.

В начало

Замечания

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.

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

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