Click or drag to resize

IPublishingManagerPublishingTargetByName Method


Retrieves a Publishing Target by name.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
IPublishingTarget PublishingTargetByName(
	string name
)

Parameters

name
Type: SystemString
Name of the publishing target

Return Value

Type: IPublishingTarget
A publishing target with the desired name
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen name is null or whitespace, or rootPage is null
Remarks

If name is null or whitespace, an error is thrown.

If rootPage is null, an error is thrown.

See Also