DSCResourceRunAsCredential Enum
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.
To specify RunAs behavior for the class ///
C++
public enum class DSCResourceRunAsCredential
public enum DSCResourceRunAsCredential
type DSCResourceRunAsCredential =
Public Enum DSCResourceRunAsCredential
- Inheritance
-
DSCResourceRunAsCredential
Name | Value | Description |
---|---|---|
Default | 0 | Default is same as optional. |
Optional | 0 | PsDscRunAsCredential can or can not be specified. |
NotSupported | 1 | PsDscRunAsCredential can not be used for this DSC Resource. |
Mandatory | 2 | PsDscRunAsCredential is mandatory for resource. |
Продукт | Версии |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |