The DBOption object represents the settings for Microsoft® SQL Server™ database options for a specific SQL Server database.
SQL Server database options control access to and behaviors for a specific SQL Server database. You can use the DBOption object to set the values for SQL Server database options.
To set a SQL Server database option
Changes to DBOption properties are reflected in the SQL Server database as they are made.
Note The DBOption object is compatible with instances of SQL Server 2000 and SQL Server version 7.0. However, the DBOption2 object extends the functionality of the DBOption object for use with features that are new in SQL Server 2000.