TAdsTable/TAdsQuery.AdsIsEncryptionEnabled

Advantage TDataSet Descendant

Determines whether encryption is enabled.

Syntax

function AdsIsEncryptionEnabled : boolean;

Description

This function returns True if encryption is enabled on this dataset. False is returned if encryption has not been enabled. When encryption is enabled, updated records will be written to the table in encrypted format.

Example

{ This example decrypts the first record in the table }

AdsTable1.First;

If AdsTable1.AdsIsEncryptionEnabled Then

AdsTable1.AdsDecryptRecord;

See Also

AdsEnableEncryption

AdsDisableEncryption

AdsIsRecordEncrypted

AdsEncryptRecord

AdsDecryptRecord