Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MongoDB.GetTLS
Whether this connection is set to be encrypted.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MongoDB | 13.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "MongoDB.GetTLS"; MongoDBRef ) More
Parameters
Parameter | Description | Example |
---|---|---|
MongoDBRef | The reference number for the mongo connection. | $MongoDB |
Result
Returns 1, 0 or error.
Description
Whether this connection is set to be encrypted.Fetches a boolean indicating if TLS was specified for use in the URI.
Returns a boolean, 1 indicating that TLS should be used. This returns 1 if any TLS option is specified.
See also
Release notes
- Version 13.1
- Added MongoDB.GetOptions, MongoDB.GetTLS and MongoDB.SetDatabase functions.
Blog Entries
This function checks for a license.
Created 22nd January 2023, last changed 22nd January 2023