다음을 통해 공유


SPCmdletAttribute Class

Specifies the attributes to apply to a cmdlet that inherits from SPCmdlet.

Inheritance Hierarchy

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

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

Syntax

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

Thread Safety

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

See Also

Reference

SPCmdletAttribute Members

Microsoft.SharePoint.PowerShell Namespace

T:System.Management.Automation.CmdletAttribute