Table of Contents

Method GetSisterDatabase

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

GetSisterDatabase(string)

Gets a sister database on the same server.

public virtual MongoDatabase GetSisterDatabase(string databaseName)

Parameters

databaseName string

The name of the sister database.

Returns

MongoDatabase

An instance of MongoDatabase.