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 ( _
    itemSpecs As ItemSpec(), _
    queryWorkspaceName As String, _
    queryUserName As String, _
    includeDownloadInfo As Boolean, _
    includeCandidates As Boolean, _
    itemPropertyFilters As String() _
) As PendingSet()
public PendingSet[] QueryPendingSets(
    ItemSpec[] itemSpecs,
    string queryWorkspaceName,
    string queryUserName,
    bool includeDownloadInfo,
    bool includeCandidates,
    string[] itemPropertyFilters
)
public:
array<PendingSet^>^ QueryPendingSets(
    array<ItemSpec^>^ itemSpecs, 
    String^ queryWorkspaceName, 
    String^ queryUserName, 
    bool includeDownloadInfo, 
    bool includeCandidates, 
    array<String^>^ itemPropertyFilters
)
member QueryPendingSets : 
        itemSpecs:ItemSpec[] * 
        queryWorkspaceName:string * 
        queryUserName:string * 
        includeDownloadInfo:bool * 
        includeCandidates:bool * 
        itemPropertyFilters:string[] -> PendingSet[] 
public function QueryPendingSets(
    itemSpecs : ItemSpec[], 
    queryWorkspaceName : String, 
    queryUserName : String, 
    includeDownloadInfo : boolean, 
    includeCandidates : boolean, 
    itemPropertyFilters : String[]
) : PendingSet[]
Parameters
- itemSpecs 
 Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]- An array of ItemSpec objects representing the items to query. 
- 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- true to get the information needed to download files. Specify false to save bandwidth if not necessary. 
- includeCandidates 
 Type: System.Boolean- true to include candidates; otherwise, false. 
- itemPropertyFilters 
 Type: array<System.String[]- The item property filters. 
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
An array of PendingSet objects containing the pending changes for the specified 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.