Access the DataSource Class of a JDBC connection in a Java service

Does webMethods provide a service that can be used to retrieve the connection properties of a particular connection, specifically the ‘DataSource Class’ value. Can we use the service ‘wm.art.admin.connection:getConnectionProperties’ for this purpose? I am unsure of the input and output values for this service, I checked the Built-In_Services_Reference document but couldn’t find the service. I am planning to invoke this service within a java service to retrieve the DataSource Class of a connection. Please let me know if this would work.

To know the input and output of wm.art.admin.connection:getConnectionProperties service try calling this in a flow service and see the input and output in the pipeline.