VersionControlServer.QueryShelvedChanges 方法 (String, String, array<ItemSpec[], Boolean)

取得指定之 Shelveset上的擱置的變更。

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

語法

'宣告
Public Function QueryShelvedChanges ( _
    shelvesetName As String, _
    shelvesetOwner As String, _
    itemSpecs As ItemSpec(), _
    includeDownloadInfo As Boolean _
) As PendingSet()
public PendingSet[] QueryShelvedChanges(
    string shelvesetName,
    string shelvesetOwner,
    ItemSpec[] itemSpecs,
    bool includeDownloadInfo
)

參數

  • shelvesetName
    類型:System.String
    擱置集名稱。可能是 Null。
  • shelvesetOwner
    類型:System.String
    擱置集擁有人。可能是 Null。
  • includeDownloadInfo
    類型:System.Boolean
    true 表示取得資訊需要下載檔案。指定 false 節省頻寬,如果不需要。

傳回值

類型:array<Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
PendingSet 物件的陣列和指定的 Shelveset的暫止變更。

備註

True 只設定的 includeDownloadInfo ,如果要下載檔案使用傳回的物件。 呼叫這個方法會比較快速且需要較少的頻寬,當 includeDownloadInfo 為 false (沒有指定它) 的多載的預設值。

.NET Framework 安全性

請參閱

參考

VersionControlServer 類別

QueryShelvedChanges 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間