Table of Contents

Class SqlDatabaseEncryptionSettings

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the encryption settings for a SQL database.

public class SqlDatabaseEncryptionSettings : BypassSection
Inheritance
SqlDatabaseEncryptionSettings
Inherited Members

Constructors

SqlDatabaseEncryptionSettings()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlDatabaseEncryptionSettings class.

public SqlDatabaseEncryptionSettings()

Properties

DatabaseEncryptionKey

Gets or sets the database encryption key settings. This does not apply to Azure SQL Databases.

public SqlDatabaseEncryptionKeySettings DatabaseEncryptionKey { get; set; }

Property Value

SqlDatabaseEncryptionKeySettings

EncryptionEnabled

Gets or sets whether encryption is enabled on the database.

public BooleanOption EncryptionEnabled { get; set; }

Property Value

BooleanOption

Methods

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.SqlDatabaseEncryptionSettings class from the specified XML.

public static SqlDatabaseEncryptionSettings FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

SqlDatabaseEncryptionSettings

A CENTREL.XIA.Configuration.Types.SqlDatabaseEncryptionSettings class.

ToString()

Returns the encryption settings as a human readable.

public override string ToString()

Returns

string

The encryption settings as a human readable.