| QueryMessageSlaveOk Property |
Gets a value indicating whether it is OK if the server is not the primary.
Namespace: MongoDB.Driver.Core.WireProtocol.MessagesAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntaxpublic bool SlaveOk { get; }Public ReadOnly Property SlaveOk As Boolean
Get
member SlaveOk : bool with get
Property Value
Type:
Booleantrue if it is OK if the server is not the primary; otherwise,
false.
See Also