DatabaseMapping Members

Include Protected Members
Include Inherited Members

The DatabaseMapping object represents a SQL Server database mapping.

The DatabaseMapping type exposes the following members.

Constructors

  Name Description
Public method DatabaseMapping(String, String, String) Initializes a new instance of the DatabaseMapping class for the specified login, database, and user.

Top

Methods

  Name Description
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method ToString() Returns a string that represents the DatabaseMapping object. (Overrides Object.ToString().)

Top

Properties

  Name Description
Public property DBName Gets the name of the database in which the login is mapped to the database user.
Public property LoginName Gets the name of the login that is mapped to the user in the database.
Public property UserName Gets the database user that is mapped to the login in the database.

Top