If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Get count of datasource and their types

Started by kulkarni, 15 Sep 2009 02:07:14 PM

Previous topic - Next topic

kulkarni

Am working on application using sdk program that fetches count of datasources on a server and the count of different types of datasources like - ODBC, MS Sql Server, Oracle, DB2, Poewrplay Cube etc

I am able to get the datasource count but not able to figure how to get types of datasource.  Not sure what propenum I need to be using to get this.

Any one knows how to fetch this information (datasource type)?  Thank you.

lindero

hi,

first of all you need the datasource connection object. The datascource does not know which kind of datasource type it is. Maybe this helps.

regards

kulkarni

I am using this in my searchpath - //dataSource/*

This fetches all the datasource connection under all the datasources.  I am able to get the connection string.  Please see the attachment.  It is from my debugging mode in .Net

There are 2 distinct screenshots in the attachment.  Each of them show various property associated with the datasource Connection.  None of them tells us the datasource type!

Thanks.

kulkarni