Repository4.QueryPendingChangesForWorkspace Method
Returns a list of pending changes matching specified criteria.
These results are limited by the value passed in for page size. The value of lastChange specifies where to begin paging from, or null for the first page.
Children are returned according to the recursive option. If RecursionType.None is specified, only the serverItem is returned. If RecursionType.OneLevel is specified and serverItem represents a folder, that folder and its direct children are returned. If RecursionType.Full is specified and serverItem is a folder, all its descendants are returned.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function QueryPendingChangesForWorkspace ( _
workspaceName As String, _
workspaceOwner As String, _
itemSpecs As ItemSpec(), _
generateDownloadUrls As Boolean, _
pageSize As Integer, _
lastChange As String, _
includeMergeInfo As Boolean, _
itemPropertyFilters As String(), _
<OutAttribute> ByRef failures As StreamingCollection(Of Failure) _
) As StreamingCollection(Of PendingChange)
[WebMethodAttribute]
public StreamingCollection<PendingChange> QueryPendingChangesForWorkspace(
string workspaceName,
string workspaceOwner,
ItemSpec[] itemSpecs,
bool generateDownloadUrls,
int pageSize,
string lastChange,
bool includeMergeInfo,
string[] itemPropertyFilters,
out StreamingCollection<Failure> failures
)
[WebMethodAttribute]
public:
StreamingCollection<PendingChange^>^ QueryPendingChangesForWorkspace(
String^ workspaceName,
String^ workspaceOwner,
array<ItemSpec^>^ itemSpecs,
bool generateDownloadUrls,
int pageSize,
String^ lastChange,
bool includeMergeInfo,
array<String^>^ itemPropertyFilters,
[OutAttribute] StreamingCollection<Failure^>^% failures
)
[<WebMethodAttribute>]
member QueryPendingChangesForWorkspace :
workspaceName:string *
workspaceOwner:string *
itemSpecs:ItemSpec[] *
generateDownloadUrls:bool *
pageSize:int *
lastChange:string *
includeMergeInfo:bool *
itemPropertyFilters:string[] *
failures:StreamingCollection<Failure> byref -> StreamingCollection<PendingChange>
public function QueryPendingChangesForWorkspace(
workspaceName : String,
workspaceOwner : String,
itemSpecs : ItemSpec[],
generateDownloadUrls : boolean,
pageSize : int,
lastChange : String,
includeMergeInfo : boolean,
itemPropertyFilters : String[],
failures : StreamingCollection<Failure>
) : StreamingCollection<PendingChange>
Parameters
- workspaceName
Type: System.String
- workspaceOwner
Type: System.String
- itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
- generateDownloadUrls
Type: System.Boolean
- pageSize
Type: System.Int32
- lastChange
Type: System.String
- includeMergeInfo
Type: System.Boolean
- itemPropertyFilters
Type: array<System.String[]
- failures
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<Failure>%
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<PendingChange>
Array of PendingChange objects for the workspace, matching the itemspecs.
.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.