Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the pending changes for the specified query.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function QueryPendingSets ( _
    items As String(), _
    recursion As RecursionType, _
    queryWorkspaceName As String, _
    queryUserName As String, _
    includeDownloadInfo As Boolean, _
    itemPropertyFilters As String() _
) As PendingSet()
public PendingSet[] QueryPendingSets(
    string[] items,
    RecursionType recursion,
    string queryWorkspaceName,
    string queryUserName,
    bool includeDownloadInfo,
    string[] itemPropertyFilters
)
public:
array<PendingSet^>^ QueryPendingSets(
    array<String^>^ items, 
    RecursionType recursion, 
    String^ queryWorkspaceName, 
    String^ queryUserName, 
    bool includeDownloadInfo, 
    array<String^>^ itemPropertyFilters
)
member QueryPendingSets : 
        items:string[] * 
        recursion:RecursionType * 
        queryWorkspaceName:string * 
        queryUserName:string * 
        includeDownloadInfo:bool * 
        itemPropertyFilters:string[] -> PendingSet[] 
public function QueryPendingSets(
    items : String[], 
    recursion : RecursionType, 
    queryWorkspaceName : String, 
    queryUserName : String, 
    includeDownloadInfo : boolean, 
    itemPropertyFilters : String[]
) : PendingSet[]
Parameters
- items 
 Type: array<System.String[]- the paths to query for pending changes 
- recursion 
 Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType- Recursion level for querying pending changes 
- queryWorkspaceName 
 Type: System.String- the workspace name (may be null) 
- queryUserName 
 Type: System.String- the user name (may be null), which is the workspace owner if the workspace name is not null 
- includeDownloadInfo 
 Type: System.Boolean- If true, the server will include the information that is required to download files. Only set this to true if you will be downloading the files by using the objects that are returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it) 
- itemPropertyFilters 
 Type: array<System.String[]- A list of property names that indicate which item properties should be returned for these pending changes. 
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
an array of pending sets with the pending changes for the server items
.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.