共用方式為


PropertyWebService.GetProperties 方法

取得屬性值。

命名空間:  Microsoft.TeamFoundation.Framework.Server.WebServices
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.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
)

參數

  • propertyNameFilters
    型別:array<System.String[]
    有些屬性名稱篩選條件
  • options
    型別:System.Int32
    使用的選項來查詢 (請參閱 GetPropertiesOptions。

傳回值

型別:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ArtifactPropertyValue>
與所要求 ArtifactPropertyValue 準則的清單。

.NET Framework 安全性

請參閱

參考

PropertyWebService 類別

Microsoft.TeamFoundation.Framework.Server.WebServices 命名空間