共用方式為


Workspace.QueryPendingSets Method (array<String , RecursionType, 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)

Syntax

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

Parameters

  • items
    Type: array<System.String[]

    The item paths to query for pending changes.

  • 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.

.NET Framework Security

See Also

Reference

Workspace Class

QueryPendingSets Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace