TeamFoundationDeploymentService.ConnectAzureWebsite Method

This function wraps several operations. It creates a DeploymentEnvironment for deploying to the given Windows Azure WebSite. It then Creates a build defintion based on the BuildPackageDeploy build process template, and using the Hosted Build controller.

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
Public Sub ConnectAzureWebsite ( _
    requestContext As TeamFoundationRequestContext, _
    teamProject As String, _
    subscriptionId As String, _
    webspace As String, _
    website As String _
)
public void ConnectAzureWebsite(
    TeamFoundationRequestContext requestContext,
    string teamProject,
    string subscriptionId,
    string webspace,
    string website
)
public:
void ConnectAzureWebsite(
    TeamFoundationRequestContext^ requestContext, 
    String^ teamProject, 
    String^ subscriptionId, 
    String^ webspace, 
    String^ website
)
member ConnectAzureWebsite : 
        requestContext:TeamFoundationRequestContext * 
        teamProject:string * 
        subscriptionId:string * 
        webspace:string * 
        website:string -> unit
public function ConnectAzureWebsite(
    requestContext : TeamFoundationRequestContext, 
    teamProject : String, 
    subscriptionId : String, 
    webspace : String, 
    website : String
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationDeploymentService Class

Microsoft.TeamFoundation.Build.Server Namespace