File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ClientLibraryConsoleAppSample Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ namespace ClientLibraryConsoleAppSample
11
11
class Program
12
12
{
13
13
//============= Config [Edit these with your settings] =====================
14
- internal const string vstsCollectionUrl = "https://myaccount.visualstudio .com" ; //change to the URL of your VSTS account; NOTE: This must use HTTPS
14
+ internal const string azDevOrganizationUrl = "https://dev.azure .com/myaccount " ; //change to the URL of your Azure DevOps account; NOTE: This must use HTTPS
15
15
// internal const string vstsCollectioUrl = "http://myserver:8080/tfs/DefaultCollection" alternate URL for a TFS collection
16
16
//==========================================================================
17
17
18
18
//Console application to execute a user defined work item query
19
19
static void Main ( string [ ] args )
20
20
{
21
21
//Prompt user for credential
22
- VssConnection connection = new VssConnection ( new Uri ( vstsCollectionUrl ) , new VssClientCredentials ( ) ) ;
22
+ VssConnection connection = new VssConnection ( new Uri ( azDevOrganizationUrl ) , new VssClientCredentials ( ) ) ;
23
23
24
24
//create http client and query for resutls
25
25
WorkItemTrackingHttpClient witClient = connection . GetClient < WorkItemTrackingHttpClient > ( ) ;
You can’t perform that action at this time.
0 commit comments