Share via


DatabaseOptions.Alter Method

Updates any DatabaseOptions object property changes on the instance of Microsoft SQL Server.

Remarks

The Alter method updates any changes that have been made to the DatabaseOptions object's properties since the DatabaseOptions object was created or since the last Alter statement. The modifications are combined and sent to the instance of SQL Server in a single network trip to the instance of SQL Server.

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

Setting PropertiesDatabase Options

Overload List

Name Description
DatabaseOptions.Alter ()
Updates any DatabaseOptions object property changes on the instance of Microsoft SQL Server.
DatabaseOptions.Alter (TerminationClause)
Updates any DatabaseOptions object property changes on the instance of Microsoft SQL Server.
DatabaseOptions.Alter (TimeSpan)
Updates any DatabaseOptions object property changes on the instance of Microsoft SQL Server.

See Also

Reference

DatabaseOptions Class
DatabaseOptions Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Setting Properties
Database Options
Setting Properties
Database Options