共用方式為


PropertyWebService.GetProperties Method

Gets property values

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<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
)
[WebMethodAttribute]
public:
StreamingCollection<ArtifactPropertyValue^>^ GetProperties(
    array<ArtifactSpec^>^ artifactSpecs, 
    array<String^>^ propertyNameFilters, 
    int options
)
[<WebMethodAttribute>]
member GetProperties : 
        artifactSpecs:ArtifactSpec[] * 
        propertyNameFilters:string[] * 
        options:int -> StreamingCollection<ArtifactPropertyValue> 
public function GetProperties(
    artifactSpecs : ArtifactSpec[], 
    propertyNameFilters : String[], 
    options : int
) : StreamingCollection<ArtifactPropertyValue>

Parameters

  • propertyNameFilters
    Type: array<System.String[]

    array of property name filters

  • options
    Type: System.Int32

    Options to use for the query - see GetPropertiesOptions.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ArtifactPropertyValue>
a list of ArtifactPropertyValue that match the request criteria

.NET Framework Security

See Also

Reference

PropertyWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace