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)

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.

Parts

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.

Remarks

See Also

Other Resources

Configuring Server Network Protocols and Net-Libraries

Help and Information

Getting SQL Server 2005 Assistance