Click or drag to resize

ProfileManagerCopyRestriction Method (String, String, 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(
	string fromItemID,
	string fromItemType,
	string toItemID
)

Parameters

fromItemID
Type: SystemString
From item ID.
fromItemType
Type: SystemString
From item type.
toItemID
Type: SystemString
To item ID.

Return Value

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