Click or drag to resize

IPublishingProfileAddTarget Method


Adds a new Publishing Target to this profile.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
void AddTarget(
	IPublishingTarget target
)

Parameters

target
Type: Ingeniux.CMSIPublishingTarget
The Publishing target to add to this profile
Exceptions
ExceptionCondition
SecurityExceptionWhen the current User is not an administrator.
Remarks

If the value of the target parameter is null, nothing happens.

If this profile already contains the specified Publishing Target, nothing happens.

See Also