Partager via


DatabaseMapping Members

The DatabaseMapping object represents a Microsoft SQL Server database mapping.

The following tables list the members exposed by the DatabaseMapping type.

Public Constructors

  Nom Description
DatabaseMapping Initializes a new instance of the DatabaseMapping class for the specified login, database, and user.

Haut de la page

Public Properties

  Nom Description
ms219487.pubproperty(fr-fr,SQL.90).gif DBName Gets the name of the database in which the login is mapped to the database user.
ms219487.pubproperty(fr-fr,SQL.90).gif LoginName Gets the name of the login that is mapped to the user in the database.
ms219487.pubproperty(fr-fr,SQL.90).gif UserName Gets the database user that is mapped to the login in the database.

Haut de la page

Public Methods

(see also Protected Methods )

  Nom Description
ms219487.pubmethod(fr-fr,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219487.pubmethod(fr-fr,SQL.90).gif GetHashCode  (inherited from Object )
ms219487.pubmethod(fr-fr,SQL.90).gif GetType  (inherited from Object )
ms219487.pubmethod(fr-fr,SQL.90).gifms219487.static(fr-fr,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219487.pubmethod(fr-fr,SQL.90).gif ToString Overridden. Returns a string that represents the DatabaseMapping object.

Haut de la page

Protected Methods

  Nom Description
ms219487.protmethod(fr-fr,SQL.90).gif Finalize  (inherited from Object )
ms219487.protmethod(fr-fr,SQL.90).gif MemberwiseClone  (inherited from Object )

Haut de la page

Voir aussi

Référence

DatabaseMapping Class
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

Managing Users, Roles, and Logins
Entités de sécurité