SP.Ribbon.PageState.Handlers.isUnpublishEnabled() Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Determines whether the "Unpublish" command is enabled.

var value = SP.Ribbon.PageState.Handlers.isUnpublishEnabled();

Return Value

Type: Boolean

true if the "Unpublish" command is enabled; otherwise, false.

Remarks

The "Unpublish" command is the command handler for the "Unpublish" button.

Applies To

SP.Ribbon.PageState.Handlers Class

See Also

Reference

SP.Ribbon.PageState.Handlers Methods

SP.Ribbon.PageState Namespace