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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public ClusterDescription WithServerDescription(
	ServerDescription value
)

Parameters

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

Return Value

Type: ClusterDescription
A ClusterDescription.
See Also