Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
public TfsHelper(Uri uri, string username, string password)
{
_tfsServer = new TfsTeamProjectCollection(uri, new VssAadCredential(username, password));
_buildServer = _tfsServer.GetService<IBuildServer>();
_versionServer = _tfsServer.GetService<VersionControlServer>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment