DatabaseOptions.Alter Method (TimeSpan)


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

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

public void Alter(
	TimeSpan transactionTerminationTime


Type: System.TimeSpan

A TimeSpan object value that specifies a period of time to allow transactions to complete before persisting the property changes with the Alter method.

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.

Return to top