DeploymentEnvironmentMetadata Constructor (String, String, String, DeploymentEnvironmentKind, String, String)
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.StringUnique name of the deployment such as a GUID.
teamProject
Type: System.StringName of the project associated with this deployment.
connectedServiceName
Type: System.StringName of the ConnectedService associated with this deployment.
kind
Type: Microsoft.TeamFoundation.Build.Server.DeploymentEnvironmentKindThe kind of deployment.
friendlyName
Type: System.StringA friendly name to represent the deployment instead of 'name' which will often be a GUID.
description
Type: System.StringExtra 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