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


Метод MasterKey.AddServiceKeyEncryption

Adds service key encryption to the master key.

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

Синтаксис

'Декларация
Public Sub AddServiceKeyEncryption
'Применение
Dim instance As MasterKey

instance.AddServiceKeyEncryption()
public void AddServiceKeyEncryption()
public:
void AddServiceKeyEncryption()
member AddServiceKeyEncryption : unit -> unit
public function AddServiceKeyEncryption()

Замечания

The IsEncryptedByServer property specifies whether the master key is encrypted by the service master key or by using a password.

Примеры

Вызов методов

См. также

Справочник

MasterKey Класс

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

Другие ресурсы

Иерархия средств шифрования

CREATE MASTER KEY (Transact-SQL)