Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a property to the specified deployment
Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Sub AddBuildDeploymentProperty ( _
    requestContext As TeamFoundationRequestContext, _
    deploymentUri As String, _
    key As String, _
    value As String _
)
public void AddBuildDeploymentProperty(
    TeamFoundationRequestContext requestContext,
    string deploymentUri,
    string key,
    string value
)
public:
void AddBuildDeploymentProperty(
    TeamFoundationRequestContext^ requestContext, 
    String^ deploymentUri, 
    String^ key, 
    String^ value
)
member AddBuildDeploymentProperty : 
        requestContext:TeamFoundationRequestContext * 
        deploymentUri:string * 
        key:string * 
        value:string -> unit
public function AddBuildDeploymentProperty(
    requestContext : TeamFoundationRequestContext, 
    deploymentUri : String, 
    key : String, 
    value : String
)
Parameters
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- deploymentUri 
 Type: System.String- The build Uri that runs the deployment. 
- key 
 Type: System.String- The key of the property 
- value 
 Type: System.String- The value of 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.