DatabaseOptions Class
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

DatabaseOptions Class

The DatabaseOptions object represents a Microsoft SQL Server database options.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

public sealed class DatabaseOptions : SqlSmoObject, IAlterable
public final class DatabaseOptions extends SqlSmoObject implements IAlterable
public final class DatabaseOptions extends SqlSmoObject implements IAlterable

Updated text:

Updated text:

Configurable database options, such as ANSI settings, cursor settings, arithmetic behavior, recovery model, and the read-only status, are contained in the DatabaseOptions object. The DatabaseOptions object is a child of the Database object.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.


Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Release

History

New content:
  • Added text stating that the AutoShrink property is equivalent to setting the db_option autoshrink option in Transact-SQL.

New content:
  • Added the IsParameterizationForced property.

Show:
© 2016 Microsoft