获取属性值
命名空间: Microsoft.TeamFoundation.Server.Core.WebServices
程序集: Microsoft.TeamFoundation.Server.Core(在 Microsoft.TeamFoundation.Server.Core.dll 中)
语法
声明
<WebMethodAttribute> _
Public Function GetProperties ( _
artifactSpecs As ArtifactSpec(), _
propertyNameFilters As String(), _
options As Integer _
) As StreamingCollection(Of ArtifactPropertyValue)
[WebMethodAttribute]
public StreamingCollection<ArtifactPropertyValue> GetProperties(
ArtifactSpec[] artifactSpecs,
string[] propertyNameFilters,
int options
)
参数
- artifactSpecs
类型:array<Microsoft.TeamFoundation.Framework.Server.ArtifactSpec[]
标记规范
- propertyNameFilters
类型:array<System.String[]
一些属性名称筛选器
- options
类型:System.Int32
使用的选项为查询-请参见 GetPropertiesOptions。
返回值
类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ArtifactPropertyValue>
与请求标准 ArtifactPropertyValue 的列表
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。