Share via


BuildDeploymentWebService.GetDeploymentEnvironment Method

Get a deployment environment including environment properties.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function GetDeploymentEnvironment ( _
    environmentName As String, _
    teamProject As String _
) As DeploymentEnvironment
[WebMethodAttribute]
public DeploymentEnvironment GetDeploymentEnvironment(
    string environmentName,
    string teamProject
)
[WebMethodAttribute]
public:
DeploymentEnvironment^ GetDeploymentEnvironment(
    String^ environmentName, 
    String^ teamProject
)
[<WebMethodAttribute>]
member GetDeploymentEnvironment : 
        environmentName:string * 
        teamProject:string -> DeploymentEnvironment
public function GetDeploymentEnvironment(
    environmentName : String, 
    teamProject : String
) : DeploymentEnvironment

Parameters

  • environmentName
    Type: System.String

    Name of deployment enviornment.

  • teamProject
    Type: System.String

    Name of project associated with this deployment enviornment.

Return Value

Type: Microsoft.TeamFoundation.Build.Server.DeploymentEnvironment
DeploymentEnvironment

.NET Framework Security

See Also

Reference

BuildDeploymentWebService Class

Microsoft.TeamFoundation.Build.Server Namespace