Delete a page language from database

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

Syntax

C#
public override void DeleteLanguageBranch(
	PageReference pageLink,
	string languageBranch
)

Parameters

pageLink
Type: EPiServer.Core..::.PageReference
The link to the page which will be deleted
languageBranch
Type: System..::.String
The language branch to delete

Implements

IPageStore..::.DeleteLanguageBranch(PageReference, String)

Remarks

You cannot delete the master language branch

Exceptions

ExceptionCondition
EPiServer.Core..::.AccessDeniedExceptionThrown when user doesnt have enough access right to perform this action

See Also