The Isdiskadmin property reports membership in the fixed server role diskadmin for the SQL-DMO connection.
object.Isdiskadmin
object
Expression that evaluates to an object in the Applies To list
Boolean
Read-only
HRESULT GetIsdiskadmin(LPBOOL pRetVal);
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.