| 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
)
Public Shared Function CopyRestriction (
fromItemID As String,
fromItemType As String,
toItemID As String
) As ContentRestriction
Parameters
- fromItemID
- Type: SystemString
From item ID. - fromItemType
- Type: SystemString
From item type. - toItemID
- Type: SystemString
To item ID.
Return Value
Type:
ContentRestrictionA reference to a new content restriction.
See Also