Produces the XML serialization of the Publishing Targets collection. The result matches the XML format of publishingTargets.xml prior to CMS 9.0.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
Parameters
- forReports (Optional)
- Type: SystemBoolean
[Missing <param name="forReports"/> documentation for "M:Ingeniux.CMS.IPublishingManager.PublishingTargetsSerialize(System.Boolean)"]
Return Value
Type: XElementXML serialization of publishing targets their publish markings.
Examples
<PublishingTargets > <PublishingTarget ID="PublishingTargets/12" Name="Production" PublishFolder="production" RootPageID="x2" UserAgentSearchString="" SiteSearchString="" Transform="false" ReplicationTarget="" ReplicationTargetModule="" LastPublishDate="20140324T23:11:00" UseStructuredURL="true" HomePageID="x11" NotFoundID="x722" URLExtension="" URLSeparator="-" ForceLowerCaseURL="true" AutoRedirectCanonicalURL="true" IncludeFoldersInURL="false" NormalizeURLSeparators="true" BaseURL="" UseExternalPreviewURL="false"> <Page ID="x2" Version="6"/> <Page ID="x11" Version="2"/> <Page ID="x37" Version="3"/> <Page ID="x201" Version="0"/> </PublishingTarget> </PublishingTargets>
See Also