DocumentService.CreateQuery Method (TfsTeamProjectCollection, String, QueryFolder, 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, _
parent As QueryFolder, _
queryText As String, _
lockToken As Object _
) As IQueryDocument
public IQueryDocument CreateQuery(
TfsTeamProjectCollection teamProjectCollection,
string teamProjectName,
QueryFolder parent,
string queryText,
Object lockToken
)
public:
IQueryDocument^ CreateQuery(
TfsTeamProjectCollection^ teamProjectCollection,
String^ teamProjectName,
QueryFolder^ parent,
String^ queryText,
Object^ lockToken
)
member CreateQuery :
teamProjectCollection:TfsTeamProjectCollection *
teamProjectName:string *
parent:QueryFolder *
queryText:string *
lockToken:Object -> IQueryDocument
public function CreateQuery(
teamProjectCollection : TfsTeamProjectCollection,
teamProjectName : String,
parent : QueryFolder,
queryText : String,
lockToken : Object
) : IQueryDocument
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.IQueryDocument
Returns IQueryDocument.
.NET Framework Security
- 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.
See Also
Reference
Microsoft.VisualStudio.TeamFoundation.WorkItemTracking Namespace