Table of Contents

Property SrvServiceName

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

SrvServiceName

Gets or sets the SRV service name which modifies the srv URI to look like:

_{srvServiceName}._tcp.{hostname}.{domainname}

The default value is "mongodb".

public string SrvServiceName { get; set; }

Property Value

string