ContentRestriction Methods |
The ContentRestriction type exposes the following members.
Name | Description | |
---|---|---|
ClearCache |
Clears cache.
| |
ContainsProfile(String) |
Determines whether the given visitor profile is in scope of this restriction.
| |
ContainsProfile(Profile) |
Determines whether the given visitor profile is in scope of this restriction.
| |
CopyTo |
Copies the state of the current object into the given one.
| |
Delete |
Deletes the current content restriction.
| |
DeleteRestrictionByID |
Deletes the given content restriction.
| |
DeleteRestrictionByItem |
Deletes the given content restriction.
| |
DeleteRestrictions |
Deletes all content restrictions.
| |
DeleteRestrictionsByPreset |
Deletes all content restrictions that has the given preset attached.
| |
DeleteRestrictionsByProfile(String) |
Deletes all restrictions that references the given profile.
| |
DeleteRestrictionsByProfile(ContentRestrictionData) |
Deletes all restrictions that references the given profile.
| |
DeleteRestrictionsByProfile(Profile) |
Deletes all restrictions that references the given profile.
| |
DeleteRestrictionsByType |
Deletes all content restrictions with the given item type.
| |
GetRestrictionByID |
Returns existing content restriction by its ID.
| |
GetRestrictionByItem |
Returns an existing content restriction by its item ID and item type.
| |
GetRestrictions |
Returns a list of all content restrictions.
| |
GetRestrictionsByType |
Returns a list of all content restrictions with the given item type.
| |
Save |
Saves the current content restriction.
|