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
)
參數
- artifactSpecs
型別:array<Microsoft.TeamFoundation.Framework.Server.ArtifactSpec[]
moniker 規格
- propertyNameFilters
型別:array<System.String[]
有些屬性名稱篩選條件
- options
型別:System.Int32
使用的選項來查詢 (請參閱 GetPropertiesOptions。
傳回值
型別:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ArtifactPropertyValue>
與所要求 ArtifactPropertyValue 準則的清單。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。