Delen via


Microsoft.VisualStudio.SharePoint.Deployment Namespace

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

The Microsoft.VisualStudio.SharePoint.Deployment namespace contains types that you can use to extend the deployment process for SharePoint projects. For more information about using the types in this namespace, see Extending SharePoint Packaging and Deployment.

Although most of the types in this namespace are interfaces, only the IDeploymentStep interface is intended to be implemented in your code. Implement this interface to define a new deployment step that can be executed when a SharePoint project item is deployed or retracted. For more information, see Walkthrough: Creating a Custom Deployment Step for SharePoint Projects.

You can also create your own deployment configuration by adding a new IDeploymentConfiguration object to the DeploymentConfigurations property of a SharePoint project. For more information, see Walkthrough: Creating a Custom Deployment Step for SharePoint Projects.

Classes

  Class Description
Public class DeploymentStepAttribute Identifies a class that implements a deployment step.
Public class DeploymentStepIds Defines the IDs of deployment steps that are included with Visual Studio.

Interfaces

  Interface Description
Public interface IDeploymentConfiguration Represents a deployment configuration for SharePoint projects.
Public interface IDeploymentConfigurationDictionary Contains a collection of deployment steps.
Public interface IDeploymentConflict Represents a conflict between items being deployed by a SharePoint project item and items on the SharePoint site.
Public interface IDeploymentConflictCollection Represents a collection of IDeploymentConflict objects. Each IDeploymentConflict represents a conflict between items being deployed by a SharePoint project item and items on the SharePoint site.
Public interface IDeploymentContext Represents the context of a deployment step that is being executed while a SharePoint project is being deployed or retracted.
Public interface IDeploymentStep Represents a deployment step for SharePoint projects.
Public interface IDeploymentStepInfo Contains information about a deployment step for SharePoint projects.
Public interface ISharePointProjectItemDeploymentContext Represents the deployment context of a specific project item.

Enumerations

  Enumeration Description
Public enumeration StartMode Enumerates the operation that caused deployment to happen.

See Also

Reference

Other Resources

Extending SharePoint Packaging and Deployment

Walkthrough: Creating a Custom Deployment Step for SharePoint Projects