Description: When a non-zero-length array is returned by getPropertyInfo, each element is a DriverPropertyInfo object representing a connection URL attribute that has not already been specified. Only those that make sense in the current context are returned.
Keywords: DriverPropertyInfo Array

# The DriverPropertyInfo Array

When a non-zero-length array is returned by getPropertyInfo, each element is a `DriverPropertyInfo` object representing a connection URL attribute that has not already been specified. Only those that make sense in the current context are returned.

This DriverPropertyInfo object contains:

- name of the attribute
- description
- current value

  If an attribute has a default value, this is set in the value field of DriverPropertyInfo, even if the attribute has not been set in the connection URL or the `Properties` object. If the attribute does not have a default value and it is not set in the URL or the `Properties` object, its value will be null.

- list of choices
- whether required for a connection request

Several fields in a DriverPropertyInfo object are allowed to be null.

- DriverPropertyInfo array example

Parent topic: Offering connection choices to the user