SPCmdletAttribute 类

指定的属性将应用于从SPCmdlet继承 cmdlet。

继承层次结构

System.Object
  System.Attribute
    Microsoft.SharePoint.PowerShell.SPCmdletAttribute

命名空间:  Microsoft.SharePoint.PowerShell
程序集:  Microsoft.SharePoint.PowerShell(位于 Microsoft.SharePoint.PowerShell.dll 中)

语法

声明
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := True)> _
Public NotInheritable Class SPCmdletAttribute _
    Inherits Attribute
用法
Dim instance As SPCmdletAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true)]
public sealed class SPCmdletAttribute : Attribute

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SPCmdletAttribute 成员

Microsoft.SharePoint.PowerShell 命名空间

T:System.Management.Automation.CmdletAttribute