Click or drag to resize
SearchIndexSiteInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
Asynchronously gets an instance of the SearchIndexSiteInfo binding structure.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax
C#
public virtual Task<SearchIndexSiteInfo> GetAsync(
	int searchIndexId,
	int siteId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

searchIndexId
Type: SystemInt32
Search index ID.
siteId
Type: SystemInt32
Site ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskSearchIndexSiteInfo
Returns a task returning either an instance of SearchIndexSiteInfo corresponding to given identifiers or null.

Implements

ISearchIndexSiteInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also