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
- teamProjectCollection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
- teamProjectName
Type: System.String
- publicQuery
Type: System.Boolean
- 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