Partager via


TeamFoundationPropertyService.GetProperties Method (TeamFoundationRequestContext, IEnumerable<ArtifactSpec>, IEnumerable<String>)

Gets properties associated to given artifacts specs that satisfies property name filters.

Note: All artifacts must be from the same artifact kind.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetProperties ( _
    requestContext As TeamFoundationRequestContext, _
    artifactSpecs As IEnumerable(Of ArtifactSpec), _
    propertyNameFilters As IEnumerable(Of String) _
) As TeamFoundationDataReader
public TeamFoundationDataReader GetProperties(
    TeamFoundationRequestContext requestContext,
    IEnumerable<ArtifactSpec> artifactSpecs,
    IEnumerable<string> propertyNameFilters
)
public:
TeamFoundationDataReader^ GetProperties(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<ArtifactSpec^>^ artifactSpecs, 
    IEnumerable<String^>^ propertyNameFilters
)
member GetProperties : 
        requestContext:TeamFoundationRequestContext * 
        artifactSpecs:IEnumerable<ArtifactSpec> * 
        propertyNameFilters:IEnumerable<string> -> TeamFoundationDataReader
public function GetProperties(
    requestContext : TeamFoundationRequestContext, 
    artifactSpecs : IEnumerable<ArtifactSpec>, 
    propertyNameFilters : IEnumerable<String>
) : TeamFoundationDataReader

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: ArtifactPropertyValue[] - List of artifact properties that matched the specs

.NET Framework Security

See Also

Reference

TeamFoundationPropertyService Class

GetProperties Overload

Microsoft.TeamFoundation.Framework.Server Namespace