DscClassCache.ImportScriptKeywordsFromModule Method (PSModuleInfo, String, String)

For internal use only. This element is introduced in Windows PowerShell 5.0.


Namespace: Microsoft.PowerShell.DesiredStateConfiguration.Internal
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim module As PSModuleInfo
Dim resourceName As String
Dim schemaFilePath As String
Dim returnValue As Boolean

returnValue = DscClassCache.ImportScriptKeywordsFromModule(module, resourceName, schemaFilePath)

public static bool ImportScriptKeywordsFromModule (
	PSModuleInfo module,
	string resourceName,
	out string schemaFilePath
)
public static boolean ImportScriptKeywordsFromModule (
	PSModuleInfo module, 
	String resourceName, 
	/** @attribute OutAttribute() */ /** @ref */ String schemaFilePath
)

Parameters

module

resourceName

schemaFilePath

Return Value

Returns Boolean.

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

 

Target Platforms


Show: