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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextRequestContext used to update the properties
artifactSpecs
Type: System.Collections.Generic.IEnumerable<ArtifactSpec>Set of artifacts to update
- propertyValues
Type: System.Collections.Generic.IEnumerable<PropertyValue>
.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.