Isdiskadmin Property

SQL-DMO

SQL-DMO

Isdiskadmin Property

The Isdiskadmin property reports membership in the fixed server role diskadmin for the SQL-DMO connection.

Applies To
SQLServer Object
Syntax

object.Isdiskadmin

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetIsdiskadmin(LPBOOL pRetVal);

Remarks

When TRUE, the login authenticating client application connection is a member of the diskadmin role.

When FALSE, the login authenticating client application connection is not a member of diskadmin role.

For more information about adding members to a database role, see AddMember Method.