DscResourceAttribute Class
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.
Indicates the class defines a DSC resource.
C++
public ref class DscResourceAttribute : System::Management::Automation::Internal::CmdletMetadataAttribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public class DscResourceAttribute : System.Management.Automation.Internal.CmdletMetadataAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type DscResourceAttribute = class
inherit CmdletMetadataAttribute
Public Class DscResourceAttribute
Inherits CmdletMetadataAttribute
- Inheritance
- Attributes
Run |
To specify RunAs Behavior for the resource. |
Producto | Versiones |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |