TeamFoundationVersionControlService.QueryItemsExtended Method (TeamFoundationRequestContext, String, String, array<ItemSpec[], DeletedState, ItemType, Int32, array<String )
For each input ItemSpec, retrieves a list of extended items that match the specified criteria.
If the 'path' argument is a file, returns a set of items that contain just that file. If the 'path' is a folder, returns a set of items that contain all items in that folder. If the 'path' contains a wildcard character, returns a set of items in the specified folder that match the wildcard.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function QueryItemsExtended ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
workspaceOwner As String, _
items As ItemSpec(), _
deletedState As DeletedState, _
itemType As ItemType, _
options As Integer, _
itemPropertyFilters As String() _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryItemsExtended(
TeamFoundationRequestContext requestContext,
string workspaceName,
string workspaceOwner,
ItemSpec[] items,
DeletedState deletedState,
ItemType itemType,
int options,
string[] itemPropertyFilters
)
public:
TeamFoundationDataReader^ QueryItemsExtended(
TeamFoundationRequestContext^ requestContext,
String^ workspaceName,
String^ workspaceOwner,
array<ItemSpec^>^ items,
DeletedState deletedState,
ItemType itemType,
int options,
array<String^>^ itemPropertyFilters
)
member QueryItemsExtended :
requestContext:TeamFoundationRequestContext *
workspaceName:string *
workspaceOwner:string *
items:ItemSpec[] *
deletedState:DeletedState *
itemType:ItemType *
options:int *
itemPropertyFilters:string[] -> TeamFoundationDataReader
public function QueryItemsExtended(
requestContext : TeamFoundationRequestContext,
workspaceName : String,
workspaceOwner : String,
items : ItemSpec[],
deletedState : DeletedState,
itemType : ItemType,
options : int,
itemPropertyFilters : String[]
) : TeamFoundationDataReader
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringThe name of the workspace, if local mappings are needed. May be null.
workspaceOwner
Type: System.StringThe owner of the workspace. May be null.
items
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]The item specifiers for the item(s) being listed, may be server or local.
deletedState
Type: Microsoft.TeamFoundation.VersionControl.Server.DeletedStateA flag representing whether to return deleted items, non-deleted items, or both.
itemType
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemTypeA flag representing whether to return files, folders, or both.
options
Type: System.Int32Options.
itemPropertyFilters
Type: array<System.String[]List of property names to return on the ExtendedItem object if they exist.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: ExtendedItem[][] - An array of ExtendedItem arrays, each containing the matching ExtendedItem instances associated with each specified ItemSpec.
.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.