| NamingHelperGetValidDocumentKey Method | 
Namespace: CMS.Search.Azure
 Syntax
Syntaxpublic static string GetValidDocumentKey( string documentKey )
 Exceptions
Exceptions| Exception | Condition | 
|---|---|
| ArgumentNullException | Thrown when documentKey is null. | 
 Remarks
RemarksAzure Search has naming rules (https://docs.microsoft.com/en-us/rest/api/searchservice/naming-rules) which document keys must follow.
Since the system uses semicolon (';') as a delimiter for compound identifiers, the default implementation replaces all semicolons by dashes ('-').
 See Also
See Also