Interface IEnterpriseSettings
Defines signatures for handling enterprise configuration settings.
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[Obsolete("No longer used, now application is multitenant meaning same Settings is used for all sites")]
public interface IEnterpriseSettingsMethods
GetSettingsFromContent(ContentReference, Boolean)
Gets the (Enterprise) settings for a content.
Declaration
Settings GetSettingsFromContent(ContentReference contentLink, bool fallbackToStartPageId)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentReference | contentLink | The content link. | 
| System.Boolean | fallbackToStartPageId | if set to  | 
Returns
| Type | Description | 
|---|---|
| Settings | A Settings instance for the site that  | 
Remarks
This is done by traversing the page tree upwards from current link until a Page which has an Enterprise config's StartPage set as current page, or the StartPage of the current IIsInstanceId.
    If the contentLink is not located beneath a start page, the search will fall back to the Settings instance
    for the current start page if fallbackToStartPageId is set to True. If the search fails and fallbackToStartPageId
    is set to false, the method returns null.
