TeamFoundationPropertyService.SetProperties Method (TeamFoundationRequestContext, IEnumerable<ArtifactPropertyValue>, Nullable<DateTime>, Nullable<Guid>)
Sets properties to artifacts Note: All artifacts must be of the same kind.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetProperties ( _
requestContext As TeamFoundationRequestContext, _
artifactPropertyValues As IEnumerable(Of ArtifactPropertyValue), _
changedDate As Nullable(Of DateTime), _
changedBy As Nullable(Of Guid) _
)
public void SetProperties(
TeamFoundationRequestContext requestContext,
IEnumerable<ArtifactPropertyValue> artifactPropertyValues,
Nullable<DateTime> changedDate,
Nullable<Guid> changedBy
)
public:
void SetProperties(
TeamFoundationRequestContext^ requestContext,
IEnumerable<ArtifactPropertyValue^>^ artifactPropertyValues,
Nullable<DateTime> changedDate,
Nullable<Guid> changedBy
)
member SetProperties :
requestContext:TeamFoundationRequestContext *
artifactPropertyValues:IEnumerable<ArtifactPropertyValue> *
changedDate:Nullable<DateTime> *
changedBy:Nullable<Guid> -> unit
public function SetProperties(
requestContext : TeamFoundationRequestContext,
artifactPropertyValues : IEnumerable<ArtifactPropertyValue>,
changedDate : Nullable<DateTime>,
changedBy : Nullable<Guid>
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextTeamFoundationRequestContext instance
artifactPropertyValues
Type: System.Collections.Generic.IEnumerable<ArtifactPropertyValue>array of ArtifactPropertyValues
changedDate
Type: System.Nullable<DateTime>time stamp to set the property value to
changedBy
Type: System.Nullable<Guid>author
.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.