Click or drag to resize

ContentRestrictionGetRestrictionsByType Method

Returns a list of all content restrictions with the given item type.

Namespace:  Dynamicweb.Analytics.Profiles.Integration
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static ContentRestrictionCollection GetRestrictionsByType(
	string itemType
)

Parameters

itemType
Type: SystemString
Item type.

Return Value

Type: ContentRestrictionCollection
A list of all content restrictions with the given item type.
Exceptions
ExceptionCondition
ArgumentNullExceptionitemType is null.
ArgumentExceptionitemType is an empty string.
See Also