Udostępnij przez


DatabaseOptions Class

The DatabaseOptions object represents SQL Server database options.

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

Syntax

'Deklaracja
<SfcElementTypeAttribute("Option")> _
Public NotInheritable Class DatabaseOptions
    Inherits SqlSmoObject
    Implements IAlterable
[SfcElementTypeAttribute("Option")] 
public sealed class DatabaseOptions : SqlSmoObject, IAlterable
[SfcElementTypeAttribute(L"Option")] 
public ref class DatabaseOptions sealed : public SqlSmoObject, IAlterable
/** @attribute SfcElementTypeAttribute("Option") */ 
public final class DatabaseOptions extends SqlSmoObject implements IAlterable
SfcElementTypeAttribute("Option") 
public final class DatabaseOptions extends SqlSmoObject implements IAlterable

Remarks

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.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.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.SmoObjectBase
     Microsoft.SqlServer.Management.Smo.SqlSmoObject
      Microsoft.SqlServer.Management.Smo.DatabaseOptions

Thread Safety

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.

Platforms

Development Platforms

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

Target Platforms

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