次の方法で共有


AppRole Property

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

The AppRole property exposes the security context for a database role.

構文

object.AppRole [= 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 GetAppRole(LPBOOL pRetVal);
HRESULT SetAppRole(BOOL NewValue);

説明

Microsoft SQL Server supports database roles defined specifically for use by client applications. For more information about database roles used by client applications, see データベース レベルのロール.

A password is required for any application role. If AppRole is TRUE, a value must be supplied for the DatabaseRoleobjectPassword property.

Applies To: