Click or drag to resize

ConnectionDescriptionWithConnectionId Method

Returns a new instance of ConnectionDescription with a different connection identifier.

Namespace:  MongoDB.Driver.Core.Connections
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
public ConnectionDescription WithConnectionId(
	ConnectionId value
)

Parameters

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

Return Value

Type: ConnectionDescription
A connection description.
See Also