Click or drag to resize
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.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
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: Boolean
True if the site has at least one identical alternative URL.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when node is null.
ArgumentExceptionThrown when siteId is invalid.
See Also