Click or drag to resize

ClusterDescriptionWithType Method

Returns a new ClusterDescription with a changed ClusterType.

Namespace:  MongoDB.Driver.Core.Clusters
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax
public ClusterDescription WithType(
	ClusterType value
)

Parameters

value
Type: MongoDB.Driver.Core.ClustersClusterType
The value.

Return Value

Type: ClusterDescription
A ClusterDescription.
See Also