Constructor for DeploymentEnvironmentMetadata
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 _
)
public DeploymentEnvironmentMetadata(
    string name,
    string teamProject,
    string connectedServiceName,
    DeploymentEnvironmentKind kind,
    string friendlyName,
    string description
)
public:
DeploymentEnvironmentMetadata(
    String^ name, 
    String^ teamProject, 
    String^ connectedServiceName, 
    DeploymentEnvironmentKind kind, 
    String^ friendlyName, 
    String^ description
)
new : 
        name:string * 
        teamProject:string * 
        connectedServiceName:string * 
        kind:DeploymentEnvironmentKind * 
        friendlyName:string * 
        description:string -> DeploymentEnvironmentMetadata
public function DeploymentEnvironmentMetadata(
    name : String, 
    teamProject : String, 
    connectedServiceName : String, 
    kind : DeploymentEnvironmentKind, 
    friendlyName : String, 
    description : String
)
Parameters
- name 
 Type: System.String- Unique name of the deployment such as a GUID. 
- teamProject 
 Type: System.String- Name of the project associated with this deployment. 
- connectedServiceName 
 Type: System.String- Name of the ConnectedService associated with this deployment. 
- kind 
 Type: Microsoft.TeamFoundation.Build.Server.DeploymentEnvironmentKind- The kind of deployment. 
- friendlyName 
 Type: System.String- A friendly name to represent the deployment instead of 'name' which will often be a GUID. 
- description 
 Type: System.String- Extra description on the deployment. 
.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.
See Also
Reference
DeploymentEnvironmentMetadata Class