Table of Contents

Method CanUseSecondary

Namespace
MongoDB.Driver.Core.Bindings
Assembly
MongoDB.Driver.Core.dll

CanUseSecondary(ServerDescription)

Whether a particular secondary can be used.

bool CanUseSecondary(ServerDescription server)

Parameters

server ServerDescription

The server.

Returns

bool

True if the server can be used.