Click or drag to resize

ProfileManagerCopyRestriction Method (ContentItem, String)

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,
	string toItemID
)

Parameters

fromItem
Type: Dynamicweb.Analytics.Profiles.IntegrationContentItem
From item.
toItemID
Type: SystemString
To item ID.

Return Value

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