Compartir a través de


MasterKey.IsEncryptedByServer Propiedad

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.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsEncryptedByServer As Boolean 
    Get
'Uso
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

Valor de la propiedad

Tipo: 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.

Ejemplos

Establecer propiedades

Vea también

Referencia

MasterKey Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Jerarquía de cifrado

CREATE MASTER KEY (Transact-SQL)