Click or drag to resize

ClusterDescriptionWithServerDescription Method

Returns a new ClusterDescription with a changed ServerDescription.

Namespace:  MongoDB.Driver.Core.Clusters
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public ClusterDescription WithServerDescription(
	ServerDescription value
)

Parameters

value
Type: MongoDB.Driver.Core.ServersServerDescription
The server description.

Return Value

Type: ClusterDescription
A ClusterDescription.
See Also