ReadPreferenceWith Method (IEnumerableTagSet) |
Returns a new instance of ReadPreference with some values changed.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax public ReadPreference With(
IEnumerable<TagSet> tagSets
)
Public Function With (
tagSets As IEnumerable(Of TagSet)
) As ReadPreference
member With :
tagSets : IEnumerable<TagSet> -> ReadPreference
Parameters
- tagSets
- Type: System.Collections.GenericIEnumerableTagSet
The tag sets.
Return Value
Type:
ReadPreferenceA new instance of ReadPreference.
See Also