Clase SPCmdletAttribute
Especifica los atributos que se aplican a un cmdlet que hereda de SPCmdlet.
Jerarquía de la herencia
System.Object
System.Attribute
Microsoft.SharePoint.PowerShell.SPCmdletAttribute
Espacio de nombres: Microsoft.SharePoint.PowerShell
Ensamblado: Microsoft.SharePoint.PowerShell (en Microsoft.SharePoint.PowerShell.dll)
Sintaxis
'Declaración
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := True)> _
Public NotInheritable Class SPCmdletAttribute _
Inherits Attribute
'Uso
Dim instance As SPCmdletAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true)]
public sealed class SPCmdletAttribute : Attribute
Seguridad para subprocesos
Los miembros static (Shared en Visual Basic) públicos de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancias sean seguros para los subprocesos.