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
ReadOnly
Gets or sets whether the database is read-only.
public BooleanOption ReadOnly { get; set; }
Property Value
UserAccess
Gets or sets the user access for the database.
public SqlDatabaseUserAccess UserAccess { get; set; }
Property Value
UserAccessString
Gets the user access for the database as a human readable string.
public string UserAccessString { get; set; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.SqlDatabaseStateOptions class from the specified XML.
public static SqlDatabaseStateOptions FromXml(string xml)
Parameters
xml
stringThe XML representation of the object.
Returns
- SqlDatabaseStateOptions
A CENTREL.XIA.Configuration.Types.SqlDatabaseStateOptions class.