Gets or sets the maximum MongoDB API version that this data store supports (e.g. "3.6"). If empty, the driver tries to retrieve the version from the server. This is currently only used to determine consistent transaction support (from version 4.0).

public string ServerCompatibility { get; set; }
Type:
string
In this article