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.3.169
Syntax
ISearchSchemaException AddSearchSchemaException(
	ISchema schema,
	bool include
)

Parameters

schema
Type: Ingeniux.CMSISchema
Schema to add configuration entry for
include
Type: SystemBoolean
Whether to include in searching indexing

Return Value

Type: 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