Share via


LoginProperty.setUsePredefinedService Method

Specifies whether to use a predefined Oracle service (created by using Oracle network configuration tools) for the connection information, or whether it will be specified in the loginProperty class.

Syntax

public void setUsePredefinedService(boolean newValue)

Run On

Called

Parameters

  • newValue
    Type: boolean
    A Boolean value that indicates whether to use a predefined Oracle service.

Remarks

By default, a predefined service is not used.

See Also

LoginProperty Class

LoginProperty.getOciServiceName Method

OciConnection Class