共用方式為


SPImportSettings members

Include protected members
Include inherited members

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

The SPImportSettings type exposes the following members.

Constructors

  Name Description
Public method SPImportSettings() 初始化SPImportSettings類別的新執行個體。
Public method SPImportSettings(Uri, String) 初始化SPImportSettings類別,包括目的地網站與內容移轉套件的位置 URL 的新執行個體。
Public method SPImportSettings(Uri, String, String) 初始化SPImportSettings類別,包括 「 目的地 」 網站,包含內容移轉套件,以及內容移轉套件基底檔案名稱的目錄的 URL 的新執行個體。

Top

Properties

  Name Description
Public property ActivateSolutions 取得或設定 Boolean 值,以指定是否要啟動使用者解決方案時的匯入作業的結論。
Public property AppLogFilePath 取得或設定值,指定內容移轉記錄檔的完整路徑。如果這個屬性為 null,或所發生的任何應用程式,將不會建立檔案。 (Inherited from SPDeploymentSettings.)
Public property BaseFileName 取得或設定在建立內容移轉套件時使用的基底檔案名稱。 (Inherited from SPDeploymentSettings.)
Public property CommandLineVerbose 取得或設定一個值,決定是否要將輸出寫入至命令列主控台。 (Inherited from SPDeploymentSettings.)
Public property FileCompression 取得或設定 Boolean 值,以指定的內容移轉套件是否已壓縮使用 CAB 壓縮通訊協定。 (Inherited from SPDeploymentSettings.)
Public property FileLocation 取得或設定放置內容移轉套件的目錄位置。 (Inherited from SPDeploymentSettings.)
Public property HaltOnNonfatalError 取得或設定一個值,指出是否要停止匯入或匯出的非嚴重錯誤。 (Inherited from SPDeploymentSettings.)
Public property HaltOnWarning 取得或設定一個值,指出是否要停止匯入或匯出作業,如果發生警告。 (Inherited from SPDeploymentSettings.)
Public property IgnoreWebParts 取得或設定一個值,指定是否在匯入作業會略過檔案相關聯的網頁組件。若要停用匯入的網頁組件 ; 設為true預設值為false。
Public property IncludeSecurity 取得或設定一個值,決定是否網站安全性群組及群組成員資格資訊匯出或匯入。 (Inherited from SPDeploymentSettings.)
Public property IncludeUserCustomAction 取得或設定指定是否要包括自訂使用者的動作,以匯入設定SPIncludeUserCustomAction列舉值。
Public property LogFilePath 取得或設定值,指定內容移轉記錄檔的完整路徑。 (Inherited from SPDeploymentSettings.)
Public property RetainObjectIdentity 取得或設定一個值,指定內容匯入目的地位置時,是否會保留識別碼的 Guid。
Public property SiteUrl 取得或設定絕對 URL 的來源或目的地網站。 (Inherited from SPDeploymentSettings.)
Public property SkipContentTypeMetaDataNameUpdate 會指定是否應更新內容類型的中繼資料名稱] 欄位
Public property SuppressAfterEvents 取得或設定 Boolean 值,會指示是否要停用引發After事件時建立或修改檔案或清單項目。
Public property UpdateVersions 取得或設定一個值,指出版本設定的管理方式是在目的地位置。
Public property UserInfoDateTime 取得或設定一個值,指定在匯入內容時,會保留的使用者資訊的程度。
Public property WebId 取得或設定目的地網站的 GUID。
Public property WebUrl 取得或設定目的地網站的 URL。

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 檢查部署設定,以確保它們有效,以及它們不與彼此衝突。 (Inherited from SPDeploymentSettings.)

Top

請參閱

參照

SPImportSettings class

Microsoft.SharePoint.Deployment namespace