Partager via


SaLogin Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

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

Syntaxe

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);