Skip to content

Commit 4bc9a53

Browse files
committed
add mongocredential setting
1 parent 7fe3954 commit 4bc9a53

File tree

1 file changed

+1
-0
lines changed
  • source/fundamentals/authentication

1 file changed

+1
-0
lines changed

source/fundamentals/authentication/x509.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ see the corresponding syntax:
119119
},
120120
UseTls = true,
121121
Server = new MongoServerAddress("<hostname>"[, "<port>"]),
122+
Scheme = ConnectionStringScheme.MongoDBPlusSrv // Needed when connecting to MongoDB Atlas
122123
};
123124

124125
Troubleshooting

0 commit comments

Comments
 (0)