Share via


DeploymentType 列舉

定義

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

public enum class DeploymentType
[System.CLSCompliant(true)]
public enum DeploymentType
[<System.CLSCompliant(true)>]
type DeploymentType = 
Public Enum DeploymentType
繼承
DeploymentType
屬性

欄位

AppGlobalResource 7

指定對於 SharePoint 當作應用程式全域資源的檔案部署。 AppGlobalResource 的預設路徑是:{WebApplicationRoot}\App_GlobalResources。

ApplicationResource 6

指定對於 SharePoint 當作應用程式資源的檔案部署。 封裝資訊清單 (manifest.xml) 會參考應用程式資源。 ApplicationResource 的預設路徑是:{WebApplicationRoot}\Resources。

AppPackage 11

指定將檔案針對 SharePoint 部署為應用程式的一部分,但不要封裝到 WSP。

ClassResource 5

指定對於 SharePoint 當作類別資源的檔案部署。 封裝資訊清單 (manifest.xml) 會參考類別資源。 ClassResource 的預設路徑是 {ClassResourcePath}。

DwpFile 10

指定標記為 Resource 的檔案,它在封裝資訊清單中是被參考當作 Dwp 檔案。 封裝資訊清單 (manifest.xml) 會參考 Dwp 檔案。 DwpFile 的預設路徑是 {WebApplicationRoot}\wpcatalog。

ElementFile 2

指定對 SharePoint 的項目檔部署。 功能資訊清單 (feature.xml) 會參考項目檔。 ElementFile 的預設路徑是 {SharePointRoot}\Template\Features。

ElementManifest 1

指定對 SharePoint 的元素資訊清單部署。 功能資訊清單 (feature.xml) 會參考元素資訊清單。 ElementManifest 的預設路徑是 {SharePointRoot}\Template\Features。

NoDeployment 0

指定不要部署到 SharePoint 的檔案。 NoDeployment 的預設路徑是空字串。

PackageOnly 8

指定標記為 Package Only 的檔案,它們會包含在 WSP 檔案中,而沒有任何部署詳細資料。 PackageOnly 的預設路徑是空字串。

Resource 9

指定對於 SharePoint 當作資源檔的檔案部署。 Resource 的預設路徑是 {SharePointRoot}\Template\Features。

RootFile 4

指定對 SharePoint 的根檔案部署。 封裝資訊清單 (manifest.xml) 會參考根檔案。 RootFile 的預設路徑是 {SharePointRoot}。

TemplateFile 3

指定對 SharePoint 的範本檔部署。 封裝資訊清單 (manifest.xml) 會參考範本檔。 TemplateFile 的預設路徑是 {SharePointRoot}\Template。

適用於