Delen via


DscResourceAttribute Class

Definition

Indicates the class defines a DSC resource.

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
DscResourceAttribute
Attributes

Constructors

DscResourceAttribute()

Properties

RunAsCredential

To specify RunAs Behavior for the resource.

Applies to