共用方式為


TeamFoundationVersionControlService.QueryItemsExtended Method (TeamFoundationRequestContext, String, String, array<ItemSpec , DeletedState, ItemType, Int32)

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 _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryItemsExtended(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] items,
    DeletedState deletedState,
    ItemType itemType,
    int options
)
public:
TeamFoundationDataReader^ QueryItemsExtended(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<ItemSpec^>^ items, 
    DeletedState deletedState, 
    ItemType itemType, 
    int options
)
member QueryItemsExtended : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        workspaceOwner:string * 
        items:ItemSpec[] * 
        deletedState:DeletedState * 
        itemType:ItemType * 
        options:int -> TeamFoundationDataReader
public function QueryItemsExtended(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    workspaceOwner : String, 
    items : ItemSpec[], 
    deletedState : DeletedState, 
    itemType : ItemType, 
    options : int
) : TeamFoundationDataReader

Parameters

  • workspaceName
    Type: System.String

    The name of the workspace, if local mappings are needed. May be null.

  • workspaceOwner
    Type: System.String

    The owner of the workspace. May be null.

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

See Also

Reference

TeamFoundationVersionControlService Class

QueryItemsExtended Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace