IDeployableFile 介面

提供基底介面,適用於所有可以封裝至 WSP 檔案並部署至 SharePoint 的檔案。這些檔案共用一組部署相關的屬性。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Public Interface IDeployableFile
public interface IDeployableFile

IDeployableFile 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 DeploymentPath 取得或設定檔案部署於 SharePoint 且與 DeploymentRoot 表示之基底路徑相對的路徑。
公用屬性 DeploymentRoot 取得 SharePoint 儲存檔案的基底路徑。
公用屬性 DeploymentType 取得要對檔案執行的部署類型。

回頁首

事件

  名稱 說明
公用事件 DeploymentPathChanged 發生於變更 DeploymentPath 時。
公用事件 DeploymentTypeChanged 發生於變更 DeploymentType 時。

回頁首

請參閱

參考

Microsoft.VisualStudio.SharePoint 命名空間