Condividi tramite


Proprietà 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.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public ReadOnly Property IsEncryptedByServer As Boolean
    Get
'Utilizzo
Dim instance As MasterKey
Dim value As Boolean

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

Valore proprietà

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.