System.Web.XmlSiteMapProvider.RemoveProvider Method

Removes a linked child site map provider from the hierarchy for the current provider.

Syntax

protected virtual void RemoveProvider (string providerName)

Parameters

providerName
The name of one of the System.Web.SiteMapProvider objects currently registered in the SiteMap.Providers.

Remarks

The XmlSiteMapProvider.RemoveProvider(string) method removes providerName from the hierarchy for the current provider, including any parent/child relationships that are established by the XmlSiteMapProvider.AddProvider(string, SiteMapNode) method between site map nodes of the current provider and the removed provider.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0