TeamFoundationPropertyService.SetProperties Method (TeamFoundationRequestContext, ArtifactSpec, IEnumerable<PropertyValue>)
Sets properties to an artifact
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetProperties ( _
requestContext As TeamFoundationRequestContext, _
artifactSpec As ArtifactSpec, _
propertyValues As IEnumerable(Of PropertyValue) _
)
public void SetProperties(
TeamFoundationRequestContext requestContext,
ArtifactSpec artifactSpec,
IEnumerable<PropertyValue> propertyValues
)
public:
void SetProperties(
TeamFoundationRequestContext^ requestContext,
ArtifactSpec^ artifactSpec,
IEnumerable<PropertyValue^>^ propertyValues
)
member SetProperties :
requestContext:TeamFoundationRequestContext *
artifactSpec:ArtifactSpec *
propertyValues:IEnumerable<PropertyValue> -> unit
public function SetProperties(
requestContext : TeamFoundationRequestContext,
artifactSpec : ArtifactSpec,
propertyValues : IEnumerable<PropertyValue>
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextTeamFoundationRequestContext instance
artifactSpec
Type: Microsoft.TeamFoundation.Framework.Server.ArtifactSpecThe specification of the artifact to set properties
propertyValues
Type: System.Collections.Generic.IEnumerable<PropertyValue>array of PropertyValue pairs
.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.