This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - How to get databases of WebLink programatically in .Net?

[email protected] - Tuesday, August 20, 2013 6:55 AM:

Hello,

any examples out there how to get related databases running on http Link of webserver?

Example:

URL: http//aras-server/InnovatorServer940/

What kind of steps are mandatory to get the databases running within this link ?

Thanks, Jens

NTT DATA Germany



vasant - Wednesday, August 21, 2013 12:25 AM:

Hello Jens,

You can use below lines of code to get database List from server URL:

Aras.IOM.HttpServerConnection myConnection;

myConnection = IomFactory.CreateHttpServerConnection("http//aras-server/InnovatorServer940/", "", "", "");

string[] dataBaseList = myConnection.GetDatabases();

Thanks - Vasant PADHIYAR



[email protected] - Wednesday, August 21, 2013 3:44 AM:

That's easy ;-)

Thanks!