DocumentService.CreateQuery Method (TfsTeamProjectCollection, String, Boolean, String, Object)

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

Syntax

'Declaration
Public Function CreateQuery ( _
    teamProjectCollection As TfsTeamProjectCollection, _
    teamProjectName As String, _
    publicQuery As Boolean, _
    queryText As String, _
    lockToken As Object _
) As IQueryDocument
public IQueryDocument CreateQuery(
    TfsTeamProjectCollection teamProjectCollection,
    string teamProjectName,
    bool publicQuery,
    string queryText,
    Object lockToken
)
public:
IQueryDocument^ CreateQuery(
    TfsTeamProjectCollection^ teamProjectCollection, 
    String^ teamProjectName, 
    bool publicQuery, 
    String^ queryText, 
    Object^ lockToken
)
member CreateQuery : 
        teamProjectCollection:TfsTeamProjectCollection * 
        teamProjectName:string * 
        publicQuery:bool * 
        queryText:string * 
        lockToken:Object -> IQueryDocument
public function CreateQuery(
    teamProjectCollection : TfsTeamProjectCollection, 
    teamProjectName : String, 
    publicQuery : boolean, 
    queryText : String, 
    lockToken : Object
) : IQueryDocument

Parameters

Return Value

Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.IQueryDocument
Returns IQueryDocument.

.NET Framework Security

See Also

Reference

DocumentService Class

CreateQuery Overload

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking Namespace