共用方式為


IDeploymentConfigurationDictionary.Add Method (String, IEnumerable<String>, IEnumerable<String>)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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.

Namespace:  Microsoft.VisualStudio.SharePoint.Deployment
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Function Add ( _
    name As String, _
    deploymentSteps As IEnumerable(Of String), _
    retractionSteps As IEnumerable(Of String) _
) As IDeploymentConfiguration
IDeploymentConfiguration Add(
    string name,
    IEnumerable<string> deploymentSteps,
    IEnumerable<string> retractionSteps
)

Parameters

Return Value

Type: Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConfiguration
The deployment configuration that was created.

.NET Framework Security

See Also

Reference

IDeploymentConfigurationDictionary Interface

Add Overload

Microsoft.VisualStudio.SharePoint.Deployment Namespace