Share via


IDeploymentConfigurationDictionary.Add Method

Definition

Overloads

Add(String)

Adds a deployment configuration to the dictionary. The deployment configuration added by using this method is not stored in the project file or user file.

Add(String, IEnumerable<String>, IEnumerable<String>)

Adds a deployment configuration to the dictionary. The deployment configuration added by using this method is not stored in the project file or user file.

Add(String)

Adds a deployment configuration to the dictionary. The deployment configuration added by using this method is not stored in the project file or user file.

public:
 Microsoft::VisualStudio::SharePoint::Deployment::IDeploymentConfiguration ^ Add(System::String ^ name);
public Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConfiguration Add (string name);
abstract member Add : string -> Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConfiguration
Public Function Add (name As String) As IDeploymentConfiguration

Parameters

name
String

Name of the deployment configuration.

Returns

The deployment configuration that was created.

Applies to

Add(String, IEnumerable<String>, IEnumerable<String>)

Adds a deployment configuration to the dictionary. The deployment configuration added by using this method is not stored in the project file or user file.

public:
 Microsoft::VisualStudio::SharePoint::Deployment::IDeploymentConfiguration ^ Add(System::String ^ name, System::Collections::Generic::IEnumerable<System::String ^> ^ deploymentSteps, System::Collections::Generic::IEnumerable<System::String ^> ^ retractionSteps);
public Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConfiguration Add (string name, System.Collections.Generic.IEnumerable<string> deploymentSteps, System.Collections.Generic.IEnumerable<string> retractionSteps);
abstract member Add : string * seq<string> * seq<string> -> Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConfiguration
Public Function Add (name As String, deploymentSteps As IEnumerable(Of String), retractionSteps As IEnumerable(Of String)) As IDeploymentConfiguration

Parameters

name
String

Name of the deployment configuration.

deploymentSteps
IEnumerable<String>

Steps that are part of the deploy operation in the deployment configuration.

retractionSteps
IEnumerable<String>

Steps that are part of the retract operation in the deployment configuration.

Returns

The deployment configuration that was created.

Applies to