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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextTeamFoundationRequestContext instance
artifactSpecs
Type: System.Collections.Generic.IEnumerable<ArtifactSpec>array of ArtifactSpecs
propertyNameFilters
Type: System.Collections.Generic.IEnumerable<String>array of property name filters. filters can contain any combination of valid characters, '*' and '?'
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.