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.StringName of the service such as subscription id or other GUID.
teamProject
Type: System.StringName of the project associated with this service
- connectedServiceName
Type: System.String
kind
Type: Microsoft.TeamFoundation.Build.Server.DeploymentEnvironmentKindThe kind of service.
friendlyName
Type: System.StringA friendly name to represent the service instead of 'name' which will often be a GUID.
description
Type: System.StringExtra description on the service.
- environmentProperties
Type: System.Collections.Generic.Dictionary<String, String>
.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
DeploymentEnvironmentCreationData Class