Table of Contents

Class SqlDatabaseEncryptionKeySettings

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

Represents the database encryption key settings for a SQL database. This does not apply to Azure SQL Database.

public class SqlDatabaseEncryptionKeySettings : BypassSection
Inheritance
SqlDatabaseEncryptionKeySettings
Inherited Members

Constructors

SqlDatabaseEncryptionKeySettings()

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

public SqlDatabaseEncryptionKeySettings()

Properties

CreationDate

Gets or sets the date and time the database encryption key was created.

public DateTime CreationDate { get; set; }

Property Value

DateTime

EncryptionAlgorithm

Gets or sets the encryption algorithm.

public SqlDatabaseEncryptionAlgorithm EncryptionAlgorithm { get; set; }

Property Value

SqlDatabaseEncryptionAlgorithm

EncryptionState

Gets or sets the encryption state.

public SqlDatabaseEncryptionState EncryptionState { get; set; }

Property Value

SqlDatabaseEncryptionState

EncryptorName

Gets or sets the encryptor name.

public string EncryptorName { get; set; }

Property Value

string

LastRegeneratedDate

Gets or sets the date and time the database encryption key was last regenerated.

public DateTime LastRegeneratedDate { get; set; }

Property Value

DateTime

Methods

FromXml(string)

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

public static SqlDatabaseEncryptionKeySettings FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

SqlDatabaseEncryptionKeySettings

A CENTREL.XIA.Configuration.Types.SqlDatabaseEncryptionKeySettings class.

ToString()

Returns the database encryption key settings as a human readable.

public override string ToString()

Returns

string

The database encryption key settings as a human readable.