سؤال

I have two server where orchestration can run.I need to know the server name where my orchestration instance has run .How to get this information.

هل كانت مفيدة؟

المحلول

Well...why? If you have the Orchestration's Host mapped to more then on server, there is no reliable or supported way to influence that.

However, you can use any standard .Net technique to get the local computer name. For example:

System.Environment.MachineName

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top