AlternativeUrlHelperIsAlternativeUrlsSiteConflict Method |
Checks whether the given site contains any of the alternative URLs defined for the given page or its child pages in all cultures.
Namespace: CMS.DocumentEngine.InternalAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static bool IsAlternativeUrlsSiteConflict(
TreeNode node,
int siteId
)
Parameters
- node
- Type: CMS.DocumentEngineTreeNode
Page for which alternative URLs will be checked. - siteId
- Type: SystemInt32
ID of the site to check for alternative URLs.
Return Value
Type:
BooleanTrue if the site has at least one identical alternative URL.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when node is null. |
ArgumentException | Thrown when siteId is invalid. |
See Also