共用方式為


DatabaseMapping 成員

The DatabaseMapping object represents a SQL Server database mapping.

DatabaseMapping 型別公開下列成員。

建構函式

  名稱 描述
公用方法 DatabaseMapping Initializes a new instance of the DatabaseMapping class for the specified login, database, and user.

頂端

方法

  名稱 描述
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString Returns a string that represents the DatabaseMapping object. (覆寫 Object. . :: . .ToString() () () ()。)

頂端

屬性

  名稱 描述
公用屬性 DBName Gets the name of the database in which the login is mapped to the database user.
公用屬性 LoginName Gets the name of the login that is mapped to the user in the database.
公用屬性 UserName Gets the database user that is mapped to the login in the database.

頂端