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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public ConnectionDescription WithConnectionId(
	ConnectionId value
)

Parameters

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

Return Value

Type: ConnectionDescription
A connection description.
See Also