Click or drag to resize
SearchIndexSiteInfoProviderAddSearchIndexToSite Method

Note: This API is now obsolete.

Creates search index site binding.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ISearchIndexSiteInfoProvider.Add(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - SearchIndexSiteInfo.Provider.")]
public static void AddSearchIndexToSite(
	int indexId,
	int siteId
)

Parameters

indexId
Type: SystemInt32
Search index ID
siteId
Type: SystemInt32
Site ID
See Also