Aracılığıyla paylaş


DatabaseOptions.Alter Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

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

Top

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.

Examples

Setting Properties

See Also

Reference

DatabaseOptions Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Database Options