Repository.QueryItems 方法

如需項目陣列中指定之一組傳回資訊項目。

「item」參數不支援萬用字元和所有遞迴型別。

版本參數指定項目的哪一個版本要接收。

WorkspaceVersionSpec 可能指定,在這種情況下,該工作區的 LocalVersion 資料表的情況下出現的項目將會傳回。

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

語法

'宣告
<WebMethodAttribute> _
Public Function QueryItems ( _
    workspaceName As String, _
    workspaceOwner As String, _
    items As ItemSpec(), _
    version As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    generateDownloadUrls As Boolean, _
    options As Integer _
) As StreamingCollection(Of ItemSet)
[WebMethodAttribute]
public StreamingCollection<ItemSet> QueryItems(
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] items,
    VersionSpec version,
    DeletedState deletedState,
    ItemType itemType,
    bool generateDownloadUrls,
    int options
)

參數

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ItemSet>
傳回 StreamingCollection<T>

.NET Framework 安全性

請參閱

參考

Repository 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間