title: TFS Query KeywordSearch in c#
body: <p>i am using below query but the problem is with "Does Not Contain". it is giving error</p>
  
  <pre><code>TfsTeamProjectCollection tpc = new TfsTeamProjectCollection(
                    new Uri("http://abc1.com"));
                  WorkItemStore workItemStore = (WorkItemStore)tpc.GetService(typeof(WorkItemStore));
                  WorkItemCollection rdIncidentqueryResults = workItemStore.Query("Select [State], [Title]  From WorkItems Where [Work Item Type] = 'Task' AND ([State] &lt;&gt; 'Resolved' AND [State] &lt;&gt; 'Closed') AND [Assigned to] = 'Test' AND [KeywordSearch] Does Not Contain 'test1'");
  </code></pre>