Partager via


DeploymentEnvironmentCreationData Constructor (String, String, String, DeploymentEnvironmentKind, String, String, Dictionary<String, String>)

Constructor for DeploymentEnvironmentCreationData

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    teamProject As String, _
    connectedServiceName As String, _
    kind As DeploymentEnvironmentKind, _
    friendlyName As String, _
    description As String, _
    environmentProperties As Dictionary(Of String, String) _
)
public DeploymentEnvironmentCreationData(
    string name,
    string teamProject,
    string connectedServiceName,
    DeploymentEnvironmentKind kind,
    string friendlyName,
    string description,
    Dictionary<string, string> environmentProperties
)
public:
DeploymentEnvironmentCreationData(
    String^ name, 
    String^ teamProject, 
    String^ connectedServiceName, 
    DeploymentEnvironmentKind kind, 
    String^ friendlyName, 
    String^ description, 
    Dictionary<String^, String^>^ environmentProperties
)
new : 
        name:string * 
        teamProject:string * 
        connectedServiceName:string * 
        kind:DeploymentEnvironmentKind * 
        friendlyName:string * 
        description:string * 
        environmentProperties:Dictionary<string, string> -> DeploymentEnvironmentCreationData
public function DeploymentEnvironmentCreationData(
    name : String, 
    teamProject : String, 
    connectedServiceName : String, 
    kind : DeploymentEnvironmentKind, 
    friendlyName : String, 
    description : String, 
    environmentProperties : Dictionary<String, String>
)

Parameters

  • name
    Type: System.String

    Name of the service such as subscription id or other GUID.

  • teamProject
    Type: System.String

    Name of the project associated with this service

  • friendlyName
    Type: System.String

    A friendly name to represent the service instead of 'name' which will often be a GUID.

  • description
    Type: System.String

    Extra description on the service.

.NET Framework Security

See Also

Reference

DeploymentEnvironmentCreationData Class

DeploymentEnvironmentCreationData Overload

Microsoft.TeamFoundation.Build.Server Namespace