Gets the page provider for a remote site.

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

Syntax

C#
public PageProviderBase GetPageProvider(
	string remoteSiteName
)

Parameters

remoteSiteName
Type: System..::.String
Name of the remote site.

Return Value

The page provider as an PageProviderBase.

Exceptions

ExceptionCondition
[T:System.ArgumentException(string message)] Thrown an ArgumentException if the remoteSiteName is NOT in the PageProviderMap

See Also