OciCompartment

This property gets or sets the Oracle Cloud Identifier (OCID) of the target database's compartment.

Declaration

// C#
public string OciCompartment { get; set; }

Property Type

System.String

Remarks

This property is optional by default. This property is mandatory if the OciDatabase property is set.

If OciCompartment is not set, then ODP.NET requests access to all the cloud tenancy's databases identified in the OciTenancy property.

There is no default value for this property.

The value of this property will be part of pool manager identification so different value for this property will result in different connection pools.