This documentation is archived and is not being maintained.
DocumentService::CreateQuery Method (TfsTeamProjectCollection, String, QueryFolder, String, Object)
Visual Studio 2013
Namespace: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
Assembly: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking (in Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll)
public:
IQueryDocument^ CreateQuery(
TfsTeamProjectCollection^ teamProjectCollection,
String^ teamProjectName,
QueryFolder^ parent,
String^ queryText,
Object^ lockToken
)
Parameters
- teamProjectCollection
- Type: Microsoft.TeamFoundation.Client::TfsTeamProjectCollection
- teamProjectName
- Type: System::String
- queryText
- Type: System::String
- lockToken
- Type: System::Object
Return Value
Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking::IQueryDocumentReturns IQueryDocument.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: