Error Handling
If the provider string contains an invalid attribute or value, the call to IDBProperties::SetProperties returns the DB_E_ERROROCCURRED error code, and OLE DB Provider for Teradata sets the status corresponding to DBPROP_INIT_PROVIDERSTRING to DBPROPSTATUS_BADVALUE.