Condividi tramite


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

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), _
    options As GetPropertiesOptions _
) As TeamFoundationDataReader
public TeamFoundationDataReader GetProperties(
    TeamFoundationRequestContext requestContext,
    IEnumerable<ArtifactSpec> artifactSpecs,
    IEnumerable<string> propertyNameFilters,
    GetPropertiesOptions options
)
public:
TeamFoundationDataReader^ GetProperties(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<ArtifactSpec^>^ artifactSpecs, 
    IEnumerable<String^>^ propertyNameFilters, 
    GetPropertiesOptions options
)
member GetProperties : 
        requestContext:TeamFoundationRequestContext * 
        artifactSpecs:IEnumerable<ArtifactSpec> * 
        propertyNameFilters:IEnumerable<string> * 
        options:GetPropertiesOptions -> TeamFoundationDataReader
public function GetProperties(
    requestContext : TeamFoundationRequestContext, 
    artifactSpecs : IEnumerable<ArtifactSpec>, 
    propertyNameFilters : IEnumerable<String>, 
    options : GetPropertiesOptions
) : 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