Show / Hide Table of Contents

Class ConnectionDetails

Connection details to connect to the database. HostName, protocol, and port should be specified.

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

Properties

HostName

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

Name of the listener host that will be used to create the connect string to the database.

Remarks

Required

Port

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

Listener port number used for connection requests.

Remarks

Required

Protocol

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

Protocol used for connection requests.

Remarks

Required

ServiceName

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

Database service name used for connection requests.

Remarks

Required

In this article
Back to top