Table of Contents

Method GetAllServers

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

GetAllServers()

Gets an array containing a snapshot of the set of all servers that have been created so far.

public static MongoServer[] GetAllServers()

Returns

MongoServer[]

An array containing a snapshot of the set of all servers that have been created so far.