UnpublishCommandHandler class

Defines the ribbon command handler for the Unpublish button.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class UnpublishCommandHandler : SPRibbonCommandHandler, 

This command handler defines properties and methods in order to configure the related ribbon button and to do the necessary action when the ribbon button is clicked.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.