Determines whether the specified URL refers to any known configured enterprise sites, and returns the appropriate settings if so.

Namespace:  EPiServer
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public static Settings GetEnterpriseUrlSettings(
	UrlBuilder url
)

Parameters

url
Type: EPiServer..::.UrlBuilder
The URL.

Return Value

The settings for the enterprise section, or null

Remarks

The logic of the method is to look at the sitehosts sections and the SiteUrl attributes for the sites. If any of those matches the host of the url that configuration is returned.

See Also