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


Класс SymmetricKeyEncryption

The SymmetricKeyEncryption class represents the encryption type used when encrypting symmetric keys.

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

System.Object
  Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption

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

Синтаксис

'Декларация
Public Class SymmetricKeyEncryption
'Применение
Dim instance As SymmetricKeyEncryption
public class SymmetricKeyEncryption
public ref class SymmetricKeyEncryption
type SymmetricKeyEncryption =  class end
public class SymmetricKeyEncryption

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

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

  Имя Описание
Открытый метод SymmetricKeyEncryption() Initializes a new instance of the SymmetricKeyEncryption class.
Открытый метод SymmetricKeyEncryption(KeyEncryptionType, String) Initializes a new instance of the SymmetricKeyEncryption class with the specified encryption type and with the specified value.

В начало

Свойства

  Имя Описание
Открытое свойство ObjectNameOrPassword Gets or sets the object name or the password associated with the symmetric key encryption.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Поля

  Имя Описание
Открытое поле KeyEncryptionType Gets or sets the key encryption type.

В начало

Замечания

To get SymmetricKeyEncryption object properties, users can be a member of the public fixed server role.

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

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

См. также

Справочник

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