Subsite.reindex (Method)

Starts a job to re-index full-text search collections for a subsite.

Returns:

JobID (integer)

Arguments:

Name Type Required Description
subsiteIDOrURL SubsiteIDorURL_EmptyString Required The ID of the target subsite, or the server relative path to the target subsite, or an empty string for the current subsite.
includeChildSubsites Boolean Optional. Defaults to '0'. A boolean flag which when set to true indicates that all descendant subsites of the current subsite should be included in the reindex.

Context:

License Requirements FullTextIndex
Permission Requirements subsite:SubsiteMaintenance
Deny Context None
Require Context (none)
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None