Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to read the server name
Haps
Hi all,
I can execute the following code by providing the hard-coded server name. Is there any command available to read the available server name or do I have to read from registry?
IManDMS oDMS = new ManDMSClass();
IManSession oSess = oDMS.Sessions.Add("<server_name>");
Thanks in advance
- Haps
Find more posts tagged with
Comments
jny
You would need to read it from the registry. There isn't a mechanism through ths SDK to query for the servername until you have logged into the specified server.