Table of Contents

Method Ping

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

Ping()

Checks whether the server is alive (throws an exception if not). If server is a replica set, pings all members one at a time.

public virtual void Ping()