Click or drag to resize

IPublishingManagerTargets(Int32, IPublishingProfile, Int32, Int32) Method


Retrieves either the collection of all Publishing Targets or the collection of publishing targets that belongs to the specified Publishing Profile.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
IEnumerable<IPublishingTarget> Targets(
	out int count,
	IPublishingProfile profile = null,
	int pageSize = -1,
	int startIndex = -1
)

Parameters

count  Int32
Total count of entries
profile  IPublishingProfile  (Optional)
Publishing profile that the publishing targets belong to. When not provided, returns all publishing targets.
pageSize  Int32  (Optional)
Number of entries to return. If not provided, returns all entries.
startIndex  Int32  (Optional)
Starting index of entries. If not provided, starts from the first entry.

Return Value

IEnumerableIPublishingTarget
Collection of publishing targets.
See Also