Class ConnectionOptions
Represents options for network connections to Oracle NoSQL Database.
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class ConnectionOptions : Object
Remarks
These options customize how the driver establishes network connections
to Oracle NoSQL Database. They include HTTP and secure
transport-related options. Set these options as
ConnectionOptions in the configuration used
to create NoSQLClient instance.
Examples
Setting trusted root certificates.var client = new NoSQLClient(new NoSQLConfig(
{
Endpoint = "...",
AuthorizationProvider = new KVStoreAuthorizationProvider(...),
ConnectionOptions = new ConnectionOptions
{
TrustedRootCertificateFile = "path/to/trusted/certificate.pem"
}
};
Constructors
Name | Description |
---|---|
ConnectionOptions() |
Properties
Name | Description |
---|---|
DisableHostnameVerification | Gets or sets a value that determines whether to disable hostname verification on the certificate presented by the server. |
TrustedRootCertificateFile | On-premise only. Gets or sets a file path containing one or more trusted root certificates used to validate server SSL certificate for connections to secure kvstore. |
TrustedRootCertificates | On-premise only. Gets or sets a collection of trusted root certificates used to validate server SSL certificate for connections to secure kvstore. |