Is there a way to get the current Server Name (essentially @@SERVERNAME or @@SERVICENAME) inside a CLR C# procedure without connecting and making a query to the instance?
Right now it opens a connection using "context connection=true" and makes this query:
SELECT @@SERVERNAME
However, is there a global property of some sort that has that information already?
Thanks.