ODBC - Application Intent Read-Only property is required

I’m trying to connect to a database with a required property:

In my connection string I’m including “ApplicationIntent=ReadOnly;”
But the server is giving me back an error:

[quote]Error976

The target database (‘E64’) is in an availability group and is currently accessible for connections when the application intent is set to read only. For more information about application intent, see SQL Server Books Online
[/quote]

As far as I can tell I’m setting this property but it doesn’t seem to be reading it from the connection string. Is this property supported?

I also found the ODBCDatabase.SetConnectionAttribute() method.
But there doesn’t seem to be an ODBCConstant value related to application intent, nor a value for read-only.
Anyone else dealt with this before?