共用方式為


SPExportSettings members

Include protected members
Include inherited members

包含用於內容移轉套件匯出內容的設定。

The SPExportSettings type exposes the following members.

Constructors

  Name Description
Public method SPExportSettings() 初始化SPExportSettings類別的新執行個體。
Public method SPExportSettings(Uri, String) 初始化指定的來源網站的 URL 與內容移轉套件的位置, SPExportSettings類別的新執行個體。
Public method SPExportSettings(Uri, String, String) 初始化指定的來源網站的 URL、 內容移轉套件及內容移轉套件的基底檔案名稱的位置, SPExportSettings類別的新執行個體。

Top

Properties

  Name Description
Public property AppLogFilePath 取得或設定值,指定內容移轉記錄檔的完整路徑。如果這個屬性為 null,或所發生的任何應用程式,將不會建立檔案。 (Inherited from SPDeploymentSettings.)
Public property AutoGenerateDataFileName 取得或設定一個值,指出是否應自動產生的內容移轉封裝的檔案名稱。
Public property BaseFileName 取得或設定在建立內容移轉套件時使用的基底檔案名稱。 (Inherited from SPDeploymentSettings.)
Public property CommandLineVerbose 取得或設定一個值,決定是否要將輸出寫入至命令列主控台。 (Inherited from SPDeploymentSettings.)
Public property CurrentChangeToken 取得或設定目前的變更 token 執行後續的累加匯出作業時,會當做比較值的變更記錄檔中。
Public property DataFiles 取得匯出/匯入資料檔案的唯讀集合。
Public property ExcludeDependencies 會指定是否要排除相依性的匯出封裝匯出類型SPFile或SPListItem物件時。
Public property ExportChangeToken 取得或設定匯出自上次匯出為基礎的變更累加變更時使用的變更 token。
Public property ExportFrontEndFileStreams 指定或未,是否要匯出的前端檔案資料流。預設值為 true。
Public property ExportMethod 取得或設定一個值,指定您是否要執行完整或累加匯出。
Public property ExportObjects 取得要匯出的物件的集合。
Public property ExportPublicSchema 取得或設定一個值,指定是否要匯出清單欄位時,使用公用結構描述格式。
Public property FileCompression 取得或設定 Boolean 值,以指定的內容移轉套件是否已壓縮使用 CAB 壓縮通訊協定。 (Inherited from SPDeploymentSettings.)
Public property FileLocation 取得或設定放置內容移轉套件的目錄位置。 (Inherited from SPDeploymentSettings.)
Public property FileMaxSize 取得或設定一個值,指定 outputted 匯出作業的內容移轉套件 (.cmp) 檔案的大小上限。
Public property HaltOnNonfatalError 取得或設定一個值,指出是否要停止匯入或匯出的非嚴重錯誤。 (Inherited from SPDeploymentSettings.)
Public property HaltOnWarning 取得或設定一個值,指出是否要停止匯入或匯出作業,如果發生警告。 (Inherited from SPDeploymentSettings.)
Public property IncludeSecurity 取得或設定一個值,決定是否網站安全性群組及群組成員資格資訊匯出或匯入。 (Inherited from SPDeploymentSettings.)
Public property IncludeVersions 取得或設定一個值,決定哪些內容已選取的版本資訊為基礎的匯出。
Public property LogExportObjectsTable 取得或設定值,指定是否應記錄檔中寫入暫存目錄"#ExportObjects"的內容。
Public property LogFilePath 取得或設定值,指定內容移轉記錄檔的完整路徑。 (Inherited from SPDeploymentSettings.)
Public property OverwriteExistingDataFile 取得或設定一個值,指出是否您可以覆寫現有的內容移轉套件檔案執行匯出時。
Public property SiteUrl 取得或設定絕對 URL 的來源或目的地網站。 (Inherited from SPDeploymentSettings.)
Public property TestRun 取得或設定值,指定是否要完成執行測試。
Public property UnattachedContentDatabase 取得或設定未附加的內容資料庫。

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate 檢查匯出設定,以確保它們有效,而且不會發生衝突。 (Overrides SPDeploymentSettings.Validate().)

Top

請參閱

參照

SPExportSettings class

Microsoft.SharePoint.Deployment namespace