The SingleUser property exposes one method of constraining user access to a Microsoft® SQL Server™ database.
object.SingleUser [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | True or False |
If True, only one user can access the database at any one time.
If False, multiple users can access the database at one time.
Boolean
Read/write
HRESULT GetSingleUser(LPBOOL pRetVal);
HRESULT SetSingleUser(BOOL NewValue);
DBOUseOnly Property | ReadOnly Property |