Show / Hide Table of Contents

Class DatabaseConnectionString

The Oracle Database connection string.

Inheritance
object
DatabaseConnectionString
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class DatabaseConnectionString

Properties

Hostname

Declaration
[Required(ErrorMessage = "Hostname is required.")]
[JsonProperty(PropertyName = "hostname")]
public string Hostname { get; set; }
Property Value
Type Description
string

The host name of the database.

Remarks

Required

Port

Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type Description
int?

The port used to connect to the database.

Remarks

Required

Protocol

Declaration
[Required(ErrorMessage = "Protocol is required.")]
[JsonProperty(PropertyName = "protocol")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseConnectionString.ProtocolEnum? Protocol { get; set; }
Property Value
Type Description
DatabaseConnectionString.ProtocolEnum?

The protocol used to connect to the database.

Remarks

Required

Service

Declaration
[Required(ErrorMessage = "Service is required.")]
[JsonProperty(PropertyName = "service")]
public string Service { get; set; }
Property Value
Type Description
string

The name of the service alias used to connect to the database.

Remarks

Required

In this article
Back to top