共用方式為


VersionControlServer.QueryPendingSets Method (array<String , RecursionType, String, 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 _
) As PendingSet()
public PendingSet[] QueryPendingSets(
    string[] items,
    RecursionType recursion,
    string queryWorkspaceName,
    string queryUserName
)
public:
array<PendingSet^>^ QueryPendingSets(
    array<String^>^ items, 
    RecursionType recursion, 
    String^ queryWorkspaceName, 
    String^ queryUserName
)
member QueryPendingSets : 
        items:string[] * 
        recursion:RecursionType * 
        queryWorkspaceName:string * 
        queryUserName:string -> PendingSet[] 
public function QueryPendingSets(
    items : String[], 
    recursion : RecursionType, 
    queryWorkspaceName : String, 
    queryUserName : String
) : PendingSet[]

Parameters

  • items
    Type: array<System.String[]

    An array of local or server paths to the items to query for.

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

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

See Also

Reference

VersionControlServer Class

QueryPendingSets Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace