IPublishingProfileAddTarget Method Ingeniux CMS Content Store API

Adds a new Publishing Target to this profile.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
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

Reference