Share via


Repository.QueryItems 方法

返回有关的信息项数组指定的安装项目。

“project”参数支持通配符和所有递归类型。

版本参数指定项目的哪些版本将接收。

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 命名空间