Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

looking for example c# SDK getting list of connections and view properties of that connection

Anyone got an example of this? or know where i can find it? Can't find it in the reference manual

7 Replies
amien
Specialist
Specialist
Author

Nobody?

Alexander_Thor
Employee
Employee

Hey,

You can use this method on the App class App.GetConnections Method

amien
Specialist
Specialist
Author

Thanks .. this works .. is it also possible to get only a list of connection which are being used by App.?

amien
Specialist
Specialist
Author

anyone? i'm looking for a listconnection class without using the App class.

Alexander_Thor
Employee
Employee

No, you would have to parse the loadscript to know that.

Alexander_Thor
Employee
Employee

Using the SDK you would need the app class for that.
You could also query the QRS rest api to find out which connections are available within the system if you do not want to operate on a App class.

amien
Specialist
Specialist
Author

Thats really not great news .. because when i loop though all the application. Withing that loop i get my dataconnection. Would it be possible to split this? For example how can i open 1 single app and than get the DataConnections? i will do my loop after that

I have it now like this:

foreach (IAppIdentifier appIdentifier in location.GetAppIdentifiers())

{

}