VersionControlServer.QueryLabels 方法 (String, String, String, Boolean)
数组的查询 VersionControlLabel 对象应用于一个项目。
命名空间: Microsoft.TeamFoundation.VersionControl.Client
程序集: Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)
语法
声明
Public Function QueryLabels ( _
labelName As String, _
labelScope As String, _
owner As String, _
includeItems As Boolean _
) As VersionControlLabel()
public VersionControlLabel[] QueryLabels(
string labelName,
string labelScope,
string owner,
bool includeItems
)
参数
- labelName
类型:System.String
要查询的标签的名称。
- labelScope
类型:System.String
表示标签定义的范围的储存库路径。
- owner
类型:System.String
创建标签的用户。指定 null 与任何所有者。
- includeItems
类型:System.Boolean
true 包括项目在标签。错误不包括。
返回值
类型:array<Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel[]
数组 VersionControlLabel 对象由查询。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。