Workspace.QueryPendingSets Method (array<ItemSpec , String, String, Boolean)

Gets the pending changes for the specified query.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)


Public Function QueryPendingSets ( _
    itemSpecs As ItemSpec(), _
    queryWorkspaceName As String, _
    queryUserName As String, _
    includeDownloadInfo As Boolean _
) As PendingSet()
public PendingSet[] QueryPendingSets(
    ItemSpec[] itemSpecs,
    string queryWorkspaceName,
    string queryUserName,
    bool includeDownloadInfo
array<PendingSet^>^ QueryPendingSets(
    array<ItemSpec^>^ itemSpecs, 
    String^ queryWorkspaceName, 
    String^ queryUserName, 
    bool includeDownloadInfo
member QueryPendingSets : 
        itemSpecs:ItemSpec[] * 
        queryWorkspaceName:string * 
        queryUserName:string * 
        includeDownloadInfo:bool -> PendingSet[] 
public function QueryPendingSets(
    itemSpecs : ItemSpec[], 
    queryWorkspaceName : String, 
    queryUserName : String, 
    includeDownloadInfo : boolean
) : PendingSet[]


  • queryWorkspaceName
    Type: System.String

    The workspace name. May be null.

  • includeDownloadInfo
    Type: System.Boolean

    True to include the information that is required to download files. False not to include the additional information.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
An array of pending sets with the pending changes for the server items.


Set includeDownloadInfo to true only if you will use the information that is returned to download the files. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it).

.NET Framework Security

See Also


Workspace Class

QueryPendingSets Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace