UseCurrentUserServerGroups Property

SQL-DMO

SQL-DMO

UseCurrentUserServerGroups Property

The UseCurrentUserServerGroups property configures registry entries listing instances of Microsoft® SQL Server™ 2000.

Applies To
Application Object
Syntax

object.UseCurrentUserServerGroups [= value]

Parts

object

Expression that evaluates to an object in the Applies To list

value

TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetUseCurrentUserServerGroups(LPBOOL pRetVal);

HRESULT SetUseCurrentUserServerGroups(BOOL NewValue);

Remarks

When TRUE, registry entries listing instances of SQL Server are keyed by username. Each user using the client computer can configure lists to meet individual preferences.

When FALSE (default), registry entries listing instances of SQL Server are not keyed by username. Any authorized-user change in the list of instances is visible to all authorized users.