مشاركة عبر


ConfigurationBase.Alter Method

Updates the Configuration object property changes on the instance of SQL Server. 

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

Syntax

'Declaration
Public Sub Alter
'Usage
Dim instance As ConfigurationBase

instance.Alter()
public void Alter()
public:
void Alter()
member Alter : unit -> unit
public function Alter()

Remarks

The Alter method updates any changes that have been made to the Configuration object properties since the Column object 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

Configuring SQL Server in SMO

See Also

Reference

ConfigurationBase Class

Alter Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Server Configuration Options (SQL Server)

sp_configure (Transact-SQL)