共用方式為


ISharePointProjectItemDeploymentContext 介面

定義

代表特定專案項目的部署內容。

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
實作

備註

使用 ISharePointProjectItemDeploymentContext 對象來判斷所部署項目專案的位置及其伺服器上的檔案。 Visual Studio 會將 對象傳遞ISharePointProjectItemDeploymentContext至 、 DeploymentStepCompletedProjectItemStartupUrlRequested 事件的事件處理程式DeploymentStepStarted

屬性

Annotations

取得 IAnnotationDictionary 執行個體,以建立自訂資料與實作 IAnnotatedObject 介面之物件的關聯。

(繼承來源 IAnnotatedObject)
Feature

取得與專案項目建立關聯的主要功能。

FeatureScope

取得值,代表將部署專案項目功能的範圍。

IsCanceled

取得是否使用者已取消部署。

(繼承來源 IDeploymentContext)
IsDeploying

取得是否正在部署專案。

(繼承來源 IDeploymentContext)
IsRetracting

取得是否正在撤銷專案。

(繼承來源 IDeploymentContext)
Logger

取得對專案記錄器的存取。

(繼承來源 IDeploymentContext)
Project

取得對目前正在部署或撤銷之專案的存取。

(繼承來源 IDeploymentContext)
ProjectItem

取得將部署的專案項目。

StartMode

取得起始模式 (部署為何已啟始的原因) 的存取。

(繼承來源 IDeploymentContext)

方法

SiteCollectionUrl()

傳回 Microsoft.SharePoint.SPSite 的正式 URL,這是專案所連線且取決於 SharePoint 的 URL。

(繼承來源 IDeploymentContext)
SiteUrl()

傳回 Microsoft.SharePoint.SPWeb 的正式 URL,這是專案所連線且取決於 SharePoint 的 URL。

(繼承來源 IDeploymentContext)
WebApplicationUrl()

傳回 SPWebApplication 的根目錄 URL。

(繼承來源 IDeploymentContext)

適用於