This topic has not yet been rated - Rate this topic

UnpublishCommandHandler Class

SharePoint 2010

Defines the ribbon command handler for the Unpublish button.

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPRibbonCommandHandler
        Microsoft.SharePoint.WebControls.UnpublishCommandHandler

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class UnpublishCommandHandler : SPRibbonCommandHandler, 
	ICallbackEventHandler

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ