This documentation is archived and is not being maintained.

DocumentService::CreateQuery Method (TeamFoundationServer, String, Boolean, String, Object)

Note: This API is now obsolete.

Namespace:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
Assembly:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking (in Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll)

[ObsoleteAttribute(L"The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public:
IQueryDocument^ CreateQuery(
	TeamFoundationServer^ teamFoundationServer, 
	String^ teamProjectName, 
	bool publicQuery, 
	String^ queryText, 
	Object^ lockToken
)

Parameters

teamFoundationServer
Type: Microsoft.TeamFoundation.Client::TeamFoundationServer
teamProjectName
Type: System::String
publicQuery
Type: System::Boolean
queryText
Type: System::String
lockToken
Type: System::Object

Show: