CmdletProviderAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Declares a class as a Cmdlet provider.
public ref class CmdletProviderAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class CmdletProviderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type CmdletProviderAttribute = class
inherit Attribute
Public NotInheritable Class CmdletProviderAttribute
Inherits Attribute
- Inheritance
-
CmdletProviderAttribute
- Attributes
Remarks
The class must be derived from System.Management.Automation.Provider.CmdletProvider to be recognized by the runspace.
Constructors
CmdletProviderAttribute(String, ProviderCapabilities) |
Constructor for the attribute. |
Properties
ProviderCapabilities |
Gets the flags that represent the capabilities of the provider. |
ProviderName |
Gets the name of the provider. |