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.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public ConnectionDescription WithConnectionId(
ConnectionId value
)
Public Function WithConnectionId (
value As ConnectionId
) As ConnectionDescription
member WithConnectionId :
value : ConnectionId -> ConnectionDescription
Parameters
- value
- Type: MongoDB.Driver.Core.ConnectionsConnectionId
The value.
Return Value
Type:
ConnectionDescriptionA connection description.
See Also