Repository.Get 方法

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

語法

'宣告
<WebMethodAttribute> _
Public Function Get ( _
    workspaceName As String, _
    ownerName As String, _
    requests As GetRequest(), _
    force As Boolean, _
    noGet As Boolean, _
    maxResults As Integer, _
    options As Integer _
) As List(Of StreamingCollection(Of GetOperation))
[WebMethodAttribute]
public List<StreamingCollection<GetOperation>> Get(
    string workspaceName,
    string ownerName,
    GetRequest[] requests,
    bool force,
    bool noGet,
    int maxResults,
    int options
)

參數

  • workspaceName
    類型:System.String
    更新的工作區名稱。
  • ownerName
    類型:System.String
    工作區包含網域的擁有者的使用者名稱。
  • force
    類型:System.Boolean
    如果為 true,則取得,即使用戶端以 LocalVersion 資料表是最新的。
  • noGet
    類型:System.Boolean
    如果未提供 get 這指示用戶端不想擷取項目的伺服器。它呼叫為資訊指令。
  • maxResults
    類型:System.Int32
    限制可以傳回結果的總數。
  • options
    類型:System.Int32
    選項點陣圖取得作業的。

傳回值

類型:System.Collections.Generic.List<StreamingCollection<GetOperation>>
每個要求的結果。

.NET Framework 安全性

請參閱

參考

Repository 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間