Subsite.isActive (Method)

Returns a Boolean flag indicating if a subsite is active.

Returns:

Boolean

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.

Context:

License Requirements None
Permission Requirements (none)
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization This method may be customized at the site level

Error Codes:

Code Error Message
54013 A valid subsite URL is required if the subsite ID's value is 0.

Notes:

None