Gets the PendingSet objects for the specified query.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Function GetPendingSets ( _
    items As String(), _
    recursion As RecursionType _
) As PendingSet()
public PendingSet[] GetPendingSets(
    string[] items,
    RecursionType recursion
)
public:
array<PendingSet^>^ GetPendingSets(
    array<String^>^ items, 
    RecursionType recursion
)
member GetPendingSets : 
        items:string[] * 
        recursion:RecursionType -> PendingSet[] 
public function GetPendingSets(
    items : String[], 
    recursion : RecursionType
) : PendingSet[]
Parameters
- items
 Type: array<System.String[]
 An array of paths to the items to query for pending changes.
- recursion
 Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType
 Recursion level to query pending changes.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
An array of PendingSet objects that contain the PendingChange objects for each of the specified items. If a path in items did not resolve to an Item, the element in the corresponding index of the returned array will be null.
.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.