Compartir a través de

SiteMapDataSource.Provider Property


Gets or sets a SiteMapProvider object that is associated with the data source control.

 property System::Web::SiteMapProvider ^ Provider { System::Web::SiteMapProvider ^ get(); void set(System::Web::SiteMapProvider ^ value); };
public System.Web.SiteMapProvider Provider { get; set; }
member this.Provider : System.Web.SiteMapProvider with get, set
Public Property Provider As SiteMapProvider

Property Value

A SiteMapProvider that is associated with the data source control; otherwise, if no provider is explicitly set, the default site map provider.



The provider named by the SiteMapProvider is not available.


No default provider is configured for the site.


Use the Provider property to specify the site map provider instance to use with the data source control. The instance can be different than the provider that is identified by the SiteMapProvider property, if set.

Applies to

See also