Table of Contents

Class SqlDatabaseContainmentOptions

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

Represents the containment options for a SQL database. This applies to on-premises SQL Server 2012 and above.

public class SqlDatabaseContainmentOptions : BypassSection
Inheritance
SqlDatabaseContainmentOptions
Inherited Members

Constructors

SqlDatabaseContainmentOptions()

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

public SqlDatabaseContainmentOptions()

Properties

ContainmentType

Gets or sets the containment type of the database. This applies to on-premises SQL Server 2012 and above.

public SqlDatabaseContainmentType ContainmentType { get; set; }

Property Value

SqlDatabaseContainmentType

ContainmentTypeString

Gets the containment type of the database as a human readable string. This applies to on-premises SQL Server 2012 and above.

public string ContainmentTypeString { get; }

Property Value

string

DefaultFullTextLanguageLcid

Gets or sets the default full text language LCID code. This applies to on-premises SQL Server 2012 and above.

public int DefaultFullTextLanguageLcid { get; set; }

Property Value

int

DefaultLanguageName

Gets or sets the default language name. This applies to on-premises SQL Server 2012 and above.

public string DefaultLanguageName { get; set; }

Property Value

string

NestedTriggers

Gets or sets whether nested triggers are enabled for the database. This applies to SQL Server 2012 and above.

public BooleanOption NestedTriggers { get; set; }

Property Value

BooleanOption

TransformNoiseWords

Gets or sets whether the transform noise words option is enabled. This applies to on-premises SQL Server 2012 and above.

public BooleanOption TransformNoiseWords { get; set; }

Property Value

BooleanOption

TwoDigitYearCutoff

Gets or sets the two digit year cutoff. This applies to on-premises SQL Server 2012 and above.

public int TwoDigitYearCutoff { get; set; }

Property Value

int

Methods

FromXml(string)

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

public static SqlDatabaseContainmentOptions FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

SqlDatabaseContainmentOptions

A CENTREL.XIA.Configuration.Types.SqlDatabaseContainmentOptions class.

ToString()

Returns the database containment options as a human readable string.

public override string ToString()

Returns

string

The database containment options as a human readable string.