若要檢視英文版的文章,請選取 [原文] 核取方塊。您也可以將滑鼠指標移到文字上,即可在快顯視窗顯示英文原文。
譯文
原文

DocumentService.CreateQuery 方法 (TeamFoundationServer, String, Boolean, String, Object)

注意:這個應用程式開發介面現在已經過時。

命名空間:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
組件:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking (在 Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll 中)

[ObsoleteAttribute("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
)

參數

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

顯示: