Share via


Repository.QueryItems Method

Returns information about a set of items specified by the items array.

The "items" parameter supports wildcard characters and all recursion types.

The version parameter specifies what versions of the items are to be received.

A WorkspaceVersionSpec may be specified, in which case only items that appear in that workspace's LocalVersion table will be returned.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryItems ( _
    workspaceName As String, _
    workspaceOwner As String, _
    items As ItemSpec(), _
    version As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    generateDownloadUrls As Boolean, _
    options As Integer _
) As StreamingCollection(Of ItemSet)
[WebMethodAttribute]
public StreamingCollection<ItemSet> QueryItems(
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] items,
    VersionSpec version,
    DeletedState deletedState,
    ItemType itemType,
    bool generateDownloadUrls,
    int options
)
[WebMethodAttribute]
public:
StreamingCollection<ItemSet^>^ QueryItems(
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<ItemSpec^>^ items, 
    VersionSpec^ version, 
    DeletedState deletedState, 
    ItemType itemType, 
    bool generateDownloadUrls, 
    int options
)
[<WebMethodAttribute>]
member QueryItems : 
        workspaceName:string * 
        workspaceOwner:string * 
        items:ItemSpec[] * 
        version:VersionSpec * 
        deletedState:DeletedState * 
        itemType:ItemType * 
        generateDownloadUrls:bool * 
        options:int -> StreamingCollection<ItemSet> 
public function QueryItems(
    workspaceName : String, 
    workspaceOwner : String, 
    items : ItemSpec[], 
    version : VersionSpec, 
    deletedState : DeletedState, 
    itemType : ItemType, 
    generateDownloadUrls : boolean, 
    options : int
) : StreamingCollection<ItemSet>

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ItemSet>
Returns StreamingCollection<T>.

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace