Skip to content

Commit 8bd6579

Browse files
Update Program.cs
1 parent ffc9271 commit 8bd6579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DualSupportClientSample/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ namespace DualSupportClientSample
1010
class Program
1111
{
1212
//============= Config [Edit these with your settings] =====================
13-
internal const string azDevOrganizationUrl = "https://myaccount.visualstudio.com"; //change to the URL of your VSTS or TFS account; VSTS: https://*.visualstudio.com TFS: https://*:8080/tfs/defaultcollection"
13+
internal const string azureDevOpsOrganizationUrl = "https://dev.azure.com/organization"; //change to the URL of your Azure DevOps or TFS account; Azure DevOps: https://dev.azure.com/organization TFS: https://*:8080/tfs/defaultcollection"
1414
//==========================================================================
1515

1616
public static void Main(string[] args)
1717
{
1818
try
1919
{
2020
//Based on collection URL will either start an interactive login session or use local Windows credential authentication
21-
VssConnection connection = new VssConnection(new Uri(azDevOrganizationUrl), new VssClientCredentials());
21+
VssConnection connection = new VssConnection(new Uri(azureDevOpsOrganizationUrl), new VssClientCredentials());
2222

2323
ProjectHttpClient projectClient = connection.GetClient<ProjectHttpClient>();
2424
IEnumerable<TeamProjectReference> projects = projectClient.GetProjects().Result;

0 commit comments

Comments
 (0)