Partager via


VersionControlServer.GetPendingChange Method (Int32)

Note: This API is now obsolete.

Gets the PendingChange object from the repository, with the specified ID.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Déclaration
<ObsoleteAttribute("Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")> _
Public Function GetPendingChange ( _
    pendingChangeId As Integer _
) As PendingChange
[ObsoleteAttribute("Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")]
public PendingChange GetPendingChange(
    int pendingChangeId
)
[ObsoleteAttribute(L"Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")]
public:
PendingChange^ GetPendingChange(
    int pendingChangeId
)
[<ObsoleteAttribute("Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")>]
member GetPendingChange : 
        pendingChangeId:int -> PendingChange 
public function GetPendingChange(
    pendingChangeId : int
) : PendingChange

Parameters

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.PendingChange
The PendingChange that matches the specified ID. Otherwise, null.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetPendingChange Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace