Udostępnij przez


DatabaseMapping Members

The DatabaseMapping object represents a SQL Server database mapping.

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

Public Constructors

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

Top

Public Properties

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

Top

Public Methods

(see also Protected Methods )

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

Top

Protected Methods

  Name Description
ms219487.protmethod(pl-pl,SQL.100).gif Finalize  (inherited from Object )
ms219487.protmethod(pl-pl,SQL.100).gif MemberwiseClone  (inherited from Object )

Top