BuildDeploymentWebService.CreateDeploymentEnvironment Method
Create a new deployment environment associated with this project
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function CreateDeploymentEnvironment ( _
deploymentEnvironmentCreationData As DeploymentEnvironmentCreationData _
) As DeploymentEnvironmentMetadata
[WebMethodAttribute]
public DeploymentEnvironmentMetadata CreateDeploymentEnvironment(
DeploymentEnvironmentCreationData deploymentEnvironmentCreationData
)
[WebMethodAttribute]
public:
DeploymentEnvironmentMetadata^ CreateDeploymentEnvironment(
DeploymentEnvironmentCreationData^ deploymentEnvironmentCreationData
)
[<WebMethodAttribute>]
member CreateDeploymentEnvironment :
deploymentEnvironmentCreationData:DeploymentEnvironmentCreationData -> DeploymentEnvironmentMetadata
public function CreateDeploymentEnvironment(
deploymentEnvironmentCreationData : DeploymentEnvironmentCreationData
) : DeploymentEnvironmentMetadata
Parameters
deploymentEnvironmentCreationData
Type: Microsoft.TeamFoundation.Build.Server.DeploymentEnvironmentCreationDataThe details for the new deployment enviornment.
Return Value
Type: Microsoft.TeamFoundation.Build.Server.DeploymentEnvironmentMetadata
The DeploymentEnvironmentMetadata for the new enviornment
.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.