SetDefaults Method (ServerSettings Class)

Sets all the default values for the instance of Microsoft SQL Server with the option to overwrite existing data.

Syntax

object.SetDefaults(OverwriteAll)

Parts

Parameters

Parameter

Description

OverwriteAll

A Boolean value that specifies whether to overwrite existing values on the instance of SQL Server: true to overwrite existing data, or false if existing data is not to be overwritten.

Property Value/Return Value

A uint32 value, which is 0 if the service was successfully modified, 1 if the request is not supported, and any other number to indicate an error.