Repository4.QueryItems 方法

返回一组指定项数组中的项目的有关信息。

"项目"参数支持通配符和所有的递归过程类型。

版本参数指定项的版本是什么接收。

可以指定 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, _
    itemPropertyFilters As String(), _
    itemAttributeFilters As String() _
) 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,
    string[] itemPropertyFilters,
    string[] itemAttributeFilters
)

参数

返回值

类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ItemSet>
返回 StreamingCollection<T>

.NET Framework 安全性

请参见

参考

Repository4 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间