ConnectionDescriptionWithConnectionId Method |
Returns a new instance of ConnectionDescription with a different connection identifier.
Namespace: MongoDB.Driver.Core.ConnectionsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
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