Version Property

Indicates the ADO version number.

Return Values

Returns a String value.

Remarks

Use the Version property to return the version number of the ADO implementation.

You can use this property to ensure that you are programming to the expected version of the provider, or to write conditional code based upon the version of the library. For instance, if a provider contained a bug for which you wrote special code, but the bug was fixed in a later version, you could check the version property to determine if the special code was still necessary.

The version of the provider will be available as a dynamic property in the Properties collection.