Share via


Workspace.QueryPendingSets Method (array<String[], RecursionType, String, String, Boolean, array<String )

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

  • 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

See Also

Reference

Workspace Class

QueryPendingSets Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace