UnpublishCommandHandler 类
定义功能区命令按钮的处理程序取消发布。
继承层次结构
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Microsoft.SharePoint.WebControls.SPRibbonCommandHandler
Microsoft.SharePoint.WebControls.UnpublishCommandHandler
命名空间: Microsoft.SharePoint.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class UnpublishCommandHandler _
Inherits SPRibbonCommandHandler _
Implements ICallbackEventHandler
用法
Dim instance As UnpublishCommandHandler
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class UnpublishCommandHandler : SPRibbonCommandHandler,
ICallbackEventHandler
备注
要配置的相关的功能区按钮并执行必要的操作,单击功能区按钮时,此命令处理程序定义的属性和方法。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。