We recommend using Visual Studio 2017

Server.Alter Method (Boolean)

Updates any Server object property changes on the instance of SQL Server with the option to override value checking.

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

public void Alter(
	bool overrideValueChecking
)

Parameters

overrideValueChecking
Type: System.Boolean
A Boolean value that specifies whether to override validation of the Server object property values.
Show: