Share via


ISharePointProjectItemDeploymentContext Interface

Definition

Represents the deployment context of a specific project item.

public interface class ISharePointProjectItemDeploymentContext : Microsoft::VisualStudio::SharePoint::Deployment::IDeploymentContext
public interface ISharePointProjectItemDeploymentContext : Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentContext
type ISharePointProjectItemDeploymentContext = interface
    interface IDeploymentContext
    interface IAnnotatedObject
Public Interface ISharePointProjectItemDeploymentContext
Implements IDeploymentContext
Implements

Remarks

Use ISharePointProjectItemDeploymentContext objects to determine the location of the deployed project item and its files on the server. Visual Studio passes ISharePointProjectItemDeploymentContext objects to the event handlers for the DeploymentStepStarted, DeploymentStepCompleted, and ProjectItemStartupUrlRequested events.

Properties

Annotations

Gets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface.

(Inherited from IAnnotatedObject)
Feature

Gets the primary feature associated with the project item.

FeatureScope

Gets a value representing the scope at which the project item's feature is being deployed.

IsCanceled

Gets whether the deployment was canceled by the user.

(Inherited from IDeploymentContext)
IsDeploying

Gets whether the project is being deployed.

(Inherited from IDeploymentContext)
IsRetracting

Gets whether the project is being retracted.

(Inherited from IDeploymentContext)
Logger

Gets the access to the project logger.

(Inherited from IDeploymentContext)
Project

Gets the access to the current project that is being deployed or retracted.

(Inherited from IDeploymentContext)
ProjectItem

Gets the project item being deployed.

StartMode

Gets the access to the start mode the reason why deployment was initiated.

(Inherited from IDeploymentContext)

Methods

SiteCollectionUrl()

Returns the canonical URL of the Microsoft.SharePoint.SPSite that the project is connected to, according to SharePoint.

(Inherited from IDeploymentContext)
SiteUrl()

Returns the canonical URL of the Microsoft.SharePoint.SPWeb that the project is connected to, according to SharePoint.

(Inherited from IDeploymentContext)
WebApplicationUrl()

Returns the root URL of the SPWebApplication.

(Inherited from IDeploymentContext)

Applies to