I have a VS addin in C#.
I want detect if a solution is offline (about TFS) for show warning to user.
I have references like Microsoft.Teamfoundation.Client and others.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The server’s offline state is stored in a registry value named
Offline. You should note that the online/offline state of a server is only checked for when the solution is opened.It is stored under the registry key: