c# - How to retrieve the TFS queries of a user? -


similar question : how can retrieve list of workitems tfs in c#?

but trying retrieve queries (not workitems) of user (to call them later, that's topic). possible c# ?

also, related, there documentation anywhere tables used in workitemstore.query object ?

sorry if has been asked before, googling tfs , queries returns lot of unwanted results (obviously).

thanks !

aaaaaaaaaaaand, looking 5 minutes namespace have saved me writing yet useless question. answer if ever interested :

tfsteamprojectcollection tfs = new tfsteamprojectcollection(new uri("uri")); tfs.ensureauthenticated();  workitemstore workitemstore = tfs.getservice<workitemstore>(); queryhierarchyprovider queryprovider = new queryhierarchyprovider(workitemstore); project project = workitemstore.projects["myproject"]; var queries = queryprovider.getqueryhierarchy(project); 

Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -