Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SetDefaults Method (SInstance Class)

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

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



An SInstance Class object that represents a server instance.




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

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.

Community Additions

© 2015 Microsoft