DesignPackage.Export Method

Definition

Overloads

Export(SPSite, Boolean)

Exports the design of the root web of the specified site.

Export(SPSite, String, Boolean)

Exports the design of the root web of the specified site.

Export(SPSite, Boolean)

Exports the design of the root web of the specified site.

public:
 static Microsoft::SharePoint::Publishing::DesignPackageInfo ^ Export(Microsoft::SharePoint::SPSite ^ site, bool includeSearchConfiguration);
[Microsoft.SharePoint.Client.ClientCallableMethod(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful, Name="ExportEnterprise")]
public static Microsoft.SharePoint.Publishing.DesignPackageInfo Export (Microsoft.SharePoint.SPSite site, bool includeSearchConfiguration);
static member Export : Microsoft.SharePoint.SPSite * bool -> Microsoft.SharePoint.Publishing.DesignPackageInfo
Public Shared Function Export (site As SPSite, includeSearchConfiguration As Boolean) As DesignPackageInfo

Parameters

site
SPSite

The SPSite object to be exported.

includeSearchConfiguration
Boolean

true if the search configuration should be exported; otherwise, false.

Returns

DesignPackageInfo
Attributes
ClientCallableMethodAttribute

Exceptions

Site parameter should not be null.

Applies to

Export(SPSite, String, Boolean)

Exports the design of the root web of the specified site.

public:
 static Microsoft::SharePoint::Publishing::DesignPackageInfo ^ Export(Microsoft::SharePoint::SPSite ^ site, System::String ^ packageName, bool includeSearchConfiguration);
[Microsoft.SharePoint.Client.ClientCallableMethod(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful, Name="ExportSmallBusiness")]
public static Microsoft.SharePoint.Publishing.DesignPackageInfo Export (Microsoft.SharePoint.SPSite site, string packageName, bool includeSearchConfiguration);
static member Export : Microsoft.SharePoint.SPSite * string * bool -> Microsoft.SharePoint.Publishing.DesignPackageInfo
Public Shared Function Export (site As SPSite, packageName As String, includeSearchConfiguration As Boolean) As DesignPackageInfo

Parameters

site
SPSite

The SPSite object to be exported.

packageName
String

The name of the design.

includeSearchConfiguration
Boolean

true if the search configuration should be exported; otherwise, false.

Returns

DesignPackageInfo
Attributes
ClientCallableMethodAttribute

Applies to