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


Класс DeployedDac.Key

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

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

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
    Microsoft.SqlServer.Management.Utility..::..DeployedDac..::..Key

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

Синтаксис

'Декларация
Public NotInheritable Class Key _
    Inherits SfcKey
'Применение
Dim instance As DeployedDac.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

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

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

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

В начало

Свойства

  Имя Описание
Открытое свойство Name Gets the name of the DeployedDac key.
Открытое свойство ServerInstanceName Gets the name of the server instance associated with the key.

В начало

Методы

  Имя Описание
Открытый метод Equals(Object) Determines whether the specified object key is equal to the referenced string value. (Переопределяет SfcKey. . :: . .Equals(Object).)
Открытый метод Equals(SfcKey) Determines whether the two specified objects are equal. (Переопределяет SfcKey. . :: . .Equals(SfcKey).)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode Gets the hash code for the object. (Переопределяет SfcKey. . :: . .GetHashCode() () () ().)
Открытый метод GetType (Производный от Object.)
Открытый метод GetUrnFragment Gets the URN path partial string that represents the deployed DAC. (Переопределяет 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.)

В начало

Замечания

Thread Safety

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

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

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