Udostępnij przez


Właściwość EncryptionType

Określa typ szyfrowanie używany do szyfrowanie klucz szyfrowanie bazy danych

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property EncryptionType As DatabaseEncryptionType
    Get
    Set
'Użycie
Dim instance As DatabaseEncryptionKey
Dim value As DatabaseEncryptionType

value = instance.EncryptionType

instance.EncryptionType = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DatabaseEncryptionType EncryptionType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DatabaseEncryptionType EncryptionType {
    DatabaseEncryptionType get ();
    void set (DatabaseEncryptionType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EncryptionType : DatabaseEncryptionType with get, set
function get EncryptionType () : DatabaseEncryptionType
function set EncryptionType (value : DatabaseEncryptionType)

Uwagi

W poniższej tabela przedstawiono wartości podstawowych i stałych dla typu szyfrowanie:

Wartości podstawowej

Stała

0

ServerCertificate

1

ServerAsymmetricKey