Table of Contents

Method ToClusterType

Namespace
MongoDB.Driver.Core.Servers
Assembly
MongoDB.Driver.dll

ToClusterType(ServerType)

Infers the cluster type from the server type.

public static ClusterType ToClusterType(this ServerType serverType)

Parameters

serverType ServerType

The type of the server.

Returns

ClusterType

The cluster type.