ssCore.ADO.getProvider

Return the name of the ADO provider.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

None.


Output Parameters:

result - A string indicating the ADO provider installed on the client machine.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.ADO.getProvider( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.ADO.getProvider( paramsObject );


Notes:

If ADO support has not been enabled, this function will fail (error code will be set to "3"), giving you a method to detect whether ADO is supported, and the opportunity to install a newer version from CD. See the Overview for more information about installing ADO.

                

Examples:

var return_obj = ssCore.ADO.getProvider();

ssDebug.trace(return_obj.result);