Help us understand the problem. What is going on with this article?

azure devopsサンプルコード

変更セット取得のサンプルコード

C#サンプル

    Uri orgUrl = new Uri("http://hostname:8080/tfs/DefaultCollection/");
    var credentials = new WindowsCredential();
    var connection = new VssConnection(orgUrl, credentials);

    TfvcHttpClient tfvcClient = connection.GetClient<TfvcHttpClient>();
    var changes = tfvcClient.GetChangesetsAsync().Result;

    foreach (var tfvcChange in changes)
    {
        Console.WriteLine(tfvcChange.Comment);
    }

pythonサンプル

personal_access_token = 'access_token'
organization_url = 'http://hostname:8080/tfs/DefaultCollection/'

credentials = BasicAuthentication('', personal_access_token)
connection = Connection(base_url=organization_url, creds=credentials)

changes = tfvc_client.get_changesets()
for x in changes:
    print(x)
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away