Get all of the data for a particular deployment environment
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Public Function GetDeploymentEnvironment ( _
    name As String, _
    teamProject As String _
) As DeploymentEnvironment
public DeploymentEnvironment GetDeploymentEnvironment(
    string name,
    string teamProject
)
public:
DeploymentEnvironment^ GetDeploymentEnvironment(
    String^ name, 
    String^ teamProject
)
member GetDeploymentEnvironment : 
        name:string * 
        teamProject:string -> DeploymentEnvironment
public function GetDeploymentEnvironment(
    name : String, 
    teamProject : String
) : DeploymentEnvironment
Parameters
- name
 Type: System.String
- teamProject
 Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Build.Client.DeploymentEnvironment
.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.