Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Seo Namespace / IRedirectRepository Interface / LoadForSourceUrl Method
The source URL of the redirect to load.
Version
LoadForSourceUrl Method (IRedirectRepository)
Load this Redirect object from the database for the given source URL.
Syntax
Redirect LoadForSourceUrl( 
   string sourceUrl
)

Parameters

sourceUrl
The source URL of the redirect to load.

Return Value

The matching redirect if it is found, otherwise null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also