Compartilhar via


SaLogin Property

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

The SaLogin property returns TRUE if the login used to establish a connection is a member of the sysadmin security role.

Sintaxe

object.SaLogin

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetSaLogin(LPBOOL pRetVal);