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.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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