Share via


VersionControlServer.GetPendingChange 方法 (Int32)

注意:這個應用程式開發介面現在已經過時。

從儲存機制中取得 PendingChange 物件,具有指定 ID 的 .

命名空間:  Microsoft.TeamFoundation.VersionControl.Client
組件:  Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

語法

'宣告
<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
)

參數

傳回值

類型:Microsoft.TeamFoundation.VersionControl.Client.PendingChange
符合指定之識別碼的 PendingChange .否則為 null。

.NET Framework 安全性

請參閱

參考

VersionControlServer 類別

GetPendingChange 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間