Condividi tramite


TeamFoundationPropertyService.SetProperties Method (TeamFoundationRequestContext, IEnumerable<ArtifactSpec>, IEnumerable<PropertyValue>)

SetProperties overload which will update each artifact in the artifact spec list and set each property specified.

Effectively this is a Cross-Join Update.

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

Syntax

'Declaration
Public Sub SetProperties ( _
    requestContext As TeamFoundationRequestContext, _
    artifactSpecs As IEnumerable(Of ArtifactSpec), _
    propertyValues As IEnumerable(Of PropertyValue) _
)
public void SetProperties(
    TeamFoundationRequestContext requestContext,
    IEnumerable<ArtifactSpec> artifactSpecs,
    IEnumerable<PropertyValue> propertyValues
)
public:
void SetProperties(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<ArtifactSpec^>^ artifactSpecs, 
    IEnumerable<PropertyValue^>^ propertyValues
)
member SetProperties : 
        requestContext:TeamFoundationRequestContext * 
        artifactSpecs:IEnumerable<ArtifactSpec> * 
        propertyValues:IEnumerable<PropertyValue> -> unit
public function SetProperties(
    requestContext : TeamFoundationRequestContext, 
    artifactSpecs : IEnumerable<ArtifactSpec>, 
    propertyValues : IEnumerable<PropertyValue>
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationPropertyService Class

SetProperties Overload

Microsoft.TeamFoundation.Framework.Server Namespace