SPCmdletAttribute Members

Include Protected Members
Include Inherited Members

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

The SPCmdletAttribute type exposes the following members.

Constructors

  Name Description
Public method SPCmdletAttribute Initializes a new instance of SPCmdletAttribute class.

Top

Properties

  Name Description
Public property RequireLocalFarmExist Gets or sets a Boolean value specifying whether the cmdlet requires that a farm exist on the local machine in order to execute.
Public property RequireUserFarmAdmin Gets or sets a Boolean value specifying whether the cmdlet requires that a user have administrative privleges on the farm in order to invoke the cmdlet.
Public property RequireUserMachineAdmin Gets or sets a Boolean value specifying whether the cmdlet requires that a user have administrative privileges on the computer on which the cmdlet is invoked.
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

See Also

Reference

SPCmdletAttribute Class

Microsoft.SharePoint.PowerShell Namespace