次の方法で共有


DBOUseOnly Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。 新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。

The DBOUseOnly property toggles access rights to a Microsoft SQL Server database.

構文

object.DBOUseOnly [=value]

Parts

  • object
    An 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 GetDBOUseOnly(LPBOOL pRetVal);
HRESULT SetDBOUseOnly(BOOL NewValue);

説明

If TRUE, only users with database ownership permissions can access the database.

If FALSE, any authorized user can access the database.

Applies To: