Table of Contents

Method WithType

Namespace
MongoDB.Driver.Core.Clusters
Assembly
MongoDB.Driver.Core.dll

WithType(ClusterType)

Returns a new ClusterDescription with a changed ClusterType.

public ClusterDescription WithType(ClusterType value)

Parameters

value ClusterType

The value.

Returns

ClusterDescription

A ClusterDescription.