The SaLogin property returns True when the login used to establish a connection is a member of the sysadmin security role.
RegisteredServer Object | SQLServer Object |
object.SaLogin
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
Boolean
Read-only
HRESULT GetSaLogin(LPBOOL pRetVal);