IPropertyService.SetProperty Method (ArtifactSpec, String, String)
Sets property-value pair to non-versioned artifact
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Sub SetProperty ( _
artifactSpec As ArtifactSpec, _
propertyName As String, _
value As String _
)
void SetProperty(
ArtifactSpec artifactSpec,
string propertyName,
string value
)
void SetProperty(
ArtifactSpec^ artifactSpec,
String^ propertyName,
String^ value
)
abstract SetProperty :
artifactSpec:ArtifactSpec *
propertyName:string *
value:string -> unit
function SetProperty(
artifactSpec : ArtifactSpec,
propertyName : String,
value : String
)
Parameters
artifactSpec
Type: Microsoft.TeamFoundation.Framework.Client.ArtifactSpeca user defined friendly name
propertyName
Type: System.Stringa property name
value
Type: System.Stringthe value to bind to the property
.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.