Table of Contents

Method GetDatabaseNames

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

GetDatabaseNames()

Gets the names of the databases on this server.

public virtual IEnumerable<string> GetDatabaseNames()

Returns

IEnumerable<string>

A list of database names.