共用方式為


DeploymentType 列舉型別

指定要對檔案執行的部署類型。

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

語法

'宣告
<CLSCompliantAttribute(True)> _
Public Enumeration DeploymentType
[CLSCompliantAttribute(true)]
public enum DeploymentType

成員

成員名稱 說明
NoDeployment 指定不會部署至 SharePoint 的檔案。
ElementManifest 指定將項目資訊清單部署至 SharePoint。功能資訊清單 (feature.xml) 會參考項目資訊清單。
ElementFile 指定將項目檔部署至 SharePoint。功能資訊清單 (feature.xml) 會參考項目檔。
TemplateFile 指定將範本檔案部署至 SharePoint。封裝資訊清單 (manifest.xml) 會參考範本檔案。
RootFile 指定將根檔案部署至 SharePoint。封裝資訊清單 (manifest.xml) 會參考根檔案。
ClassResource 指定將檔案當成類別資源部署至 SharePoint.封裝資訊清單 (manifest.xml) 會參考類別資源。
ApplicationResource 指定將檔案當成應用程式資源部署至 SharePoint.封裝資訊清單 (manifest.xml) 會參考應用程式資源。
AppGlobalResource 指定將檔案當成「應用程式全域資源」部署至 SharePoint。

封裝資訊清單 (manifest.xml) 會參考應用程式全域資源。 它們會部署至 SharePoint Web 應用程式的 'App_GlobalResources' 資料夾。

PackageOnly 指定標記為「僅限封裝」的檔案,這些檔案包含在 WSP 檔案中且沒有任何部署詳細資訊。
Resource 指定將檔案當成資源檔案部署至 SharePoint。

封裝資訊清單 (manifest.xml) 會參考資源檔案。

DwpFile 指定封裝資訊清單中當成 Dwp 檔案來參考且標記為「資源」的檔案。封裝資訊清單 (manifest.xml) 會參考 Dwp 檔案。

請參閱

參考

Microsoft.VisualStudio.SharePoint 命名空間