共用方式為


IDeploymentConfiguration Interface

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

Represents a deployment configuration for SharePoint projects.

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

Syntax

'Declaration
Public Interface IDeploymentConfiguration
public interface IDeploymentConfiguration

The IDeploymentConfiguration type exposes the following members.

Properties

  Name Description
Public property DeploymentSteps Gets a list of steps that are executed when this deployment configuration is the active configuration in a project, and the project is deployed.
Public property Description Gets or sets the localized description of the deployment configuration.
Public property DisplayName Gets or sets the localized display name of the deployment configuration.
Public property Name Gets the name of the deployment configuration.
Public property RetractionSteps Gets a list of steps that are executed when this deployment configuration is the active configuration in a project, and the project is retracted.

Top

Remarks

A deployment configuration is a set of deployment steps that is executed for a given project. Every deployment configuration includes one set of steps that is executed when the project is deployed, and another set that is executed when the project is retracted. Visual Studio includes two built-in deployment configurations, but you can also create your own. When you create a deployment configuration, you can include built-in deployment steps and deployment steps that you create. For more information, see Extending SharePoint Packaging and Deployment.

See Also

Reference

Microsoft.VisualStudio.SharePoint.Deployment Namespace

Other Resources

Extending SharePoint Packaging and Deployment