Table of Contents

Class SqlDatabaseStateOptions

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

Represents the state options for a SQL database.

public class SqlDatabaseStateOptions : BaseTypeSection
Inheritance
SqlDatabaseStateOptions

Constructors

SqlDatabaseStateOptions()

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

public SqlDatabaseStateOptions()

Properties

EncryptionEnabled

Gets or sets whether encryption is enabled on the database.

public BooleanOption EncryptionEnabled { get; set; }

Property Value

BooleanOption

ReadOnly

Gets or sets whether the database is read-only.

public BooleanOption ReadOnly { get; set; }

Property Value

BooleanOption

UserAccess

Gets or sets the user access for the database.

public SqlDatabaseUserAccess UserAccess { get; set; }

Property Value

SqlDatabaseUserAccess

UserAccessString

Gets the user access for the database as a human readable string.

public string UserAccessString { get; set; }

Property Value

string

Methods

FromXml(string)

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

public static SqlDatabaseStateOptions FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

SqlDatabaseStateOptions

A CENTREL.XIA.Configuration.Types.SqlDatabaseStateOptions class.