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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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