Click or drag to resize

IPublishingManagerTargets Method (Int32, IPublishingProfile, Int32, Int32)


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.308
Syntax
IEnumerable<IPublishingTarget> Targets(
	out int count,
	IPublishingProfile profile = null,
	int pageSize = -1,
	int startIndex = -1
)

Parameters

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

Return Value

Type: IEnumerableIPublishingTarget
Collection of publishing targets.
See Also