Login.EnumDatabaseMappings Login.EnumDatabaseMappings Login.EnumDatabaseMappings Method

Definition

Enumerates a list of login account mappings to databases and database users.

public:
 cli::array <Microsoft::SqlServer::Management::Smo::DatabaseMapping ^> ^ EnumDatabaseMappings();
public Microsoft.SqlServer.Management.Smo.DatabaseMapping[] EnumDatabaseMappings ();
Public Function EnumDatabaseMappings () As DatabaseMapping()
Returns

A DatabaseMapping object array value that lists the login account mappings to databases and database users.

Examples

Managing Users, Roles, and Logins

Applies to