SingleUser Property (SQL-DMO)

The SingleUser property exposes one method of constraining user access to a Microsoft® SQL Server™ database.

Applies To

DBOption Object

Syntax

object.SingleUser [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

Remarks

If True, only one user can access the database at any one time.

If False, multiple users can access the database at one time.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetSingleUser(LPBOOL pRetVal);

HRESULT SetSingleUser(BOOL NewValue);

See Also
DBOUseOnly Property ReadOnly Property

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.