DscClassCache.GetCachedClass Method
For internal use only. This element is introduced in Windows PowerShell 4.0.
Namespace: Microsoft.PowerShell.DesiredStateConfiguration.Internal
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Usage
'Usage
Dim className As String
Dim returnValue As CimClass
returnValue = DscClassCache.GetCachedClass(className)
Syntax
'Declaration
Public Shared Function GetCachedClass ( _
className As String _
) As CimClass
public static CimClass GetCachedClass (
string className
)
public:
static CimClass^ GetCachedClass (
String^ className
)
public static CimClass GetCachedClass (
String className
)
public static function GetCachedClass (
className : String
) : CimClass
Parameters
- className
Return Value
Returns CimClass.
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
DscClassCache Class
DscClassCache Members
Microsoft.PowerShell.DesiredStateConfiguration.Internal Namespace