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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public ClusterDescription WithType(
	ClusterType value
)

Parameters

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

Return Value

Type: ClusterDescription
A ClusterDescription.
See Also