The Isdiskadmin property reports membership in the fixed server role diskadmin for the SQL-DMO connection.
object.Isdiskadmin
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
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 the role.
For more information about adding members to a database role, see AddMember Method.
Boolean
Read-only
HRESULT GetIsdiskadmin(LPBOOL pRetVal);