Click or drag to resize
SearchServiceFromAdminApiKey Method
Creates a new SearchService from specified name and adminApiKey.

Namespace: CMS.Search.Azure
Assembly: CMS.Search.Azure (in CMS.Search.Azure.dll) Version: 11.0.0
Syntax
C#
public static SearchService FromAdminApiKey(
	string name,
	string adminApiKey
)

Parameters

name
Type: SystemString
Azure Search service name.
adminApiKey
Type: SystemString
Azure Search admin API key.

Return Value

Type: SearchService
Search service object initialized from given parameters.
See Also