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


Класс DacInstance.Key

The DacInstance..::..Key class represents the key that identifies the DacInstance class.

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

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

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

Синтаксис

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

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

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

  Имя Описание
Открытый метод DacInstance. . :: . .Key() () () () Initializes a new instance of the DacInstance..::..Key class that has the specified name.
Открытый метод DacInstance. . :: . .Key(String) Initializes a new instance of the DacInstance..::..Key class that has the specified name.
Открытый метод DacInstance. . :: . .Key(DacInstance. . :: . .Key) Initializes a new instance of the DacInstance..::..Key class based on the specified key.

В начало

Свойства

  Имя Описание
Открытое свойство Name Gets the name of the DacInstance key.

В начало

Методы

  Имя Описание
Открытый метод Equals(Object) Determines whether the specified object key is equal to the referenced object key. (Переопределяет SfcKey. . :: . .Equals(Object).)
Открытый метод Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. (Переопределяет SfcKey. . :: . .Equals(SfcKey).)
Открытый методСтатический элемент Equals(Object, Object) Determines whether the specified object key is equal to the referenced object key.
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode Gets the hash code for the object. (Переопределяет SfcKey. . :: . .GetHashCode() () () ().)
Открытый метод GetType (Производный от Object.)
Открытый метод GetUrnFragment Gets the unique resource name (URN) path partial string that represents the DAC package. (Переопределяет 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, DacInstance. . :: . .Key) Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance.
Открытый операторСтатический элемент Equality(DacInstance. . :: . .Key, DacInstance. . :: . .Key) Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance.
Открытый операторСтатический элемент Equality(DacInstance. . :: . .Key, Object) Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance.
Открытый операторСтатический элемент Inequality(Object, DacInstance. . :: . .Key) Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance.
Открытый операторСтатический элемент Inequality(DacInstance. . :: . .Key, DacInstance. . :: . .Key) Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance.
Открытый операторСтатический элемент Inequality(DacInstance. . :: . .Key, Object) Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance.

В начало

Замечания

Thread Safety

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

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

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