DscResourceMandatoryAttribute Class

Indicates the property is a required property for a DSC resource. This element is introduced in Windows PowerShell 5.0.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Syntax

'Declaration

Inheritance Hierarchy

System.Object
   System.Attribute
     System.Management.Automation.Internal.CmdletMetadataAttribute
      System.Management.Automation.DscResourceMandatoryAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

DscResourceMandatoryAttribute Members
System.Management.Automation Namespace