SQL-DMO
SaLogin Property
The SaLogin property returns TRUE when the login used to establish a connection is a member of the sysadmin security role.
Applies To
RegisteredServer Object | SQLServer Object |
Syntax
object.SaLogin
Parts
object
Expression that evaluates to an object in the Applies To list
Data Type
Boolean
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetSaLogin(LPBOOL pRetVal);