Свойство MasterKey.IsEncryptedByServer

Gets the Boolean property value that specifies whether the database master key is encrypted by using the service master key or by using a password.

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

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsEncryptedByServer As Boolean 
    Get
'Применение
Dim instance As MasterKey 
Dim value As Boolean 

value = instance.IsEncryptedByServer
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsEncryptedByServer { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsEncryptedByServer {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsEncryptedByServer : bool
function get IsEncryptedByServer () : boolean

Значение свойства

Тип: System.Boolean
A Boolean value that specifies whether the master key is encrypted by using the service master key or by using a password.If True, the master key is encrypted by the service master key. Otherwise, False.

Примеры

Установка свойств

См. также

Справочник

MasterKey Класс

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

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

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

CREATE MASTER KEY (Transact-SQL)