VersionControlServer.GetPendingChanges Method (array<Int32 )
Note: This API is now obsolete.
Gets the PendingChange objects from the repository with the specified IDs.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaração
<ObsoleteAttribute("Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")> _
Public Function GetPendingChanges ( _
pendingChangeIds As Integer() _
) As PendingChange()
[ObsoleteAttribute("Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")]
public PendingChange[] GetPendingChanges(
int[] pendingChangeIds
)
[ObsoleteAttribute(L"Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")]
public:
array<PendingChange^>^ GetPendingChanges(
array<int>^ pendingChangeIds
)
[<ObsoleteAttribute("Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")>]
member GetPendingChanges :
pendingChangeIds:int[] -> PendingChange[]
public function GetPendingChanges(
pendingChangeIds : int[]
) : PendingChange[]
Parameters
- pendingChangeIds
Type: array<System.Int32[]
An array of PendingChange IDs.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]
An array of PendingChange objects that match the specified IDs.
Remarks
If a PendingChange cannot be found for a specific ID, then the corresponding element in the output 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.