Click or drag to resize

IPublishingManagerAddSearchSchemaException Method


Adds a new InSite Search Schema Exception.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
ISearchSchemaException AddSearchSchemaException(
	ISchema schema,
	bool include
)

Parameters

schema  ISchema
Schema to add configuration entry for
include  Boolean
Whether to include in searching indexing

Return Value

ISearchSchemaException
Newly created InSite Search Schema Exception entry.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen the schema parameter is null.
ArgumentExceptionWhen an exception for the given schema already exists.
Remarks

If the schema parameter is null, an error isthrown.

If there is already an exception for this schema, an error is thrown.

See Also