ClusterDescriptionWithType Method |
Returns a new ClusterDescription with a changed ClusterType.
Namespace:
MongoDB.Driver.Core.Clusters
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntaxpublic ClusterDescription WithType(
ClusterType value
)
Public Function WithType (
value As ClusterType
) As ClusterDescription
member WithType :
value : ClusterType -> ClusterDescription
Parameters
- value
- Type: MongoDB.Driver.Core.ClustersClusterType
The value.
Return Value
Type:
ClusterDescriptionA ClusterDescription.
See Also