Click or drag to resize

ProfileManagerCopyRestriction Method (ContentItem, ContentItem)

Copies the given content restriction and returns a reference to a new one. The new content restriction object is saved right after the copying.

Namespace:  Dynamicweb.Analytics.Profiles
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static ContentRestriction CopyRestriction(
	ContentItem fromItem,
	ContentItem toItem
)

Parameters

fromItem
Type: Dynamicweb.Analytics.Profiles.IntegrationContentItem
From item.
toItem
Type: Dynamicweb.Analytics.Profiles.IntegrationContentItem
To item.

Return Value

Type: ContentRestriction
A reference to a new content restriction.
See Also