Get(EncryptionState)

Returns a value representing the file's current encryption state.

Format 

Get ( EncryptionState )

Parameters 

None

Data type returned 

text

Originated in version 

13.0

Description 

Returns:

  • 0 if the database is not encrypted
  • 1 and the shared ID as a return delimited list if the database is encrypted

Example 1 

In an encrypted database file with the shared ID of 31725, Get(EncryptionState) returns:

1
31725