共用方式為


SPImportSettings.IgnoreWebParts property

取得或設定一個值,指定是否在匯入作業會略過檔案相關聯的網頁組件。若要停用匯入的網頁組件 ; 設為true預設值為false。

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property IgnoreWebParts As Boolean
    Get
    Set
'用途
Dim instance As SPImportSettings
Dim value As Boolean

value = instance.IgnoreWebParts

instance.IgnoreWebParts = value
public bool IgnoreWebParts { get; set; }

Property value

Type: System.Boolean
已停用true匯入檔案的網頁組件 ;否則,會傳回false。
預設值為false。

備註

此屬性用於主要是由 CMS 變化功能。

請參閱

參照

SPImportSettings class

SPImportSettings members

Microsoft.SharePoint.Deployment namespace