VersionControlServer.QueryPendingSets Method (ItemSpec[], String, String, Boolean, Boolean)
Visual Studio 2012
Gets the pending changes for the specified query.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public PendingSet[] QueryPendingSets( ItemSpec[] itemSpecs, string queryWorkspaceName, string queryUserName, bool includeDownloadInfo, bool includeCandidates )
Parameters
- itemSpecs
- Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]
An array of ItemSpec objects representing the items to query.
- queryWorkspaceName
- Type: String
The workspace name (may be null).
- queryUserName
- Type: String
The user name (may be null), which is the workspace owner if the workspace name is not null.
- includeDownloadInfo
- Type: Boolean
true to get the information needed to download files. Specify false to save bandwidth if not necessary.
- includeCandidates
- Type: Boolean
true to include candidates; otherwise, false.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]An array of PendingSet objects containing the pending changes for the specified server items.
- 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.