Share via


ConfigurationBase.Alter Method (Boolean)

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 ( _
    overrideValueChecking As Boolean _
)
'Usage
Dim instance As ConfigurationBase 
Dim overrideValueChecking As Boolean

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

Parameters

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)