Is there a method to get the server name?
I would like to connect dynamically to SQL SERVER by retrieving the server name from Axapta.
Thanks
Is there a method to get the server name?
I would like to connect dynamically to SQL SERVER by retrieving the server name from Axapta.
Thanks
Use methods from SqlSystem class. That’s suitable for your purpose.
In general, there may be many servers involved in a single AX environment, including several database servers (clustering, OLTP/OLAP/SSRS etc.).
Sorry Martin … I need it for the early version 3… yep
You should always add a tag with your version of AX… Unfortunately I don’t have any AX 3 installed so I can’t take a look.
But I remember that even AX 3 contained a form with information about database (Administration > Inquiries > Database > Database information). Take the information from there.
Sorry for the TAG but I’m pretty sure I’ve ax3 compatible…but anyway
Thanks vmuch for database information location