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
- workspaceName
Type: System.String
- workspaceOwner
Type: System.String
items
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]Array of ItemSpec objects that contain serverItems and recursion flags.
version
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecVersion specifier.
deletedState
Type: Microsoft.TeamFoundation.VersionControl.Server.DeletedStateDetermines whether non-deleted, deleted, or all items are returned.
- itemType
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemType
- generateDownloadUrls
Type: System.Boolean
- options
Type: System.Int32
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ItemSet>
Returns StreamingCollection<T>.
.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.