 | ContentRestrictionGetRestrictionByID Method |
Returns existing content restriction by its ID.
Namespace:
Dynamicweb.Analytics.Profiles.Integration
Assembly:
Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntaxpublic static ContentRestriction GetRestrictionByID(
string id
)
Public Shared Function GetRestrictionByID (
id As String
) As ContentRestriction
Parameters
- id
- Type: SystemString
Restriction ID.
Return Value
Type:
ContentRestrictionExisting content restriction or null (Nothing in Visual Basic) if content restriction cannot be found.
See Also