DscClassCache.ImportCimKeywordsFromModule Method

Definition

Overloads

ImportCimKeywordsFromModule(PSModuleInfo, String, String)

Import the CIM functions from a module...

ImportCimKeywordsFromModule(PSModuleInfo, String, String, Dictionary<String,ScriptBlock>)

Import the CIM functions from a module...

ImportCimKeywordsFromModule(PSModuleInfo, String, String, Dictionary<String,ScriptBlock>, Collection<Exception>)

Import the CIM functions from a module...

ImportCimKeywordsFromModule(PSModuleInfo, String, String)

Import the CIM functions from a module...

public:
 static bool ImportCimKeywordsFromModule(System::Management::Automation::PSModuleInfo ^ module, System::String ^ resourceName, [Runtime::InteropServices::Out] System::String ^ % schemaFilePath);
public static bool ImportCimKeywordsFromModule (System.Management.Automation.PSModuleInfo module, string resourceName, out string schemaFilePath);
static member ImportCimKeywordsFromModule : System.Management.Automation.PSModuleInfo * string * string -> bool
Public Shared Function ImportCimKeywordsFromModule (module As PSModuleInfo, resourceName As String, ByRef schemaFilePath As String) As Boolean

Parameters

module
PSModuleInfo
resourceName
String
schemaFilePath
String

Full path of the loaded schema file...

Returns

Applies to

ImportCimKeywordsFromModule(PSModuleInfo, String, String, Dictionary<String,ScriptBlock>)

Import the CIM functions from a module...

public:
 static bool ImportCimKeywordsFromModule(System::Management::Automation::PSModuleInfo ^ module, System::String ^ resourceName, [Runtime::InteropServices::Out] System::String ^ % schemaFilePath, System::Collections::Generic::Dictionary<System::String ^, System::Management::Automation::ScriptBlock ^> ^ functionsToDefine);
public static bool ImportCimKeywordsFromModule (System.Management.Automation.PSModuleInfo module, string resourceName, out string schemaFilePath, System.Collections.Generic.Dictionary<string,System.Management.Automation.ScriptBlock> functionsToDefine);
static member ImportCimKeywordsFromModule : System.Management.Automation.PSModuleInfo * string * string * System.Collections.Generic.Dictionary<string, System.Management.Automation.ScriptBlock> -> bool
Public Shared Function ImportCimKeywordsFromModule (module As PSModuleInfo, resourceName As String, ByRef schemaFilePath As String, functionsToDefine As Dictionary(Of String, ScriptBlock)) As Boolean

Parameters

module
PSModuleInfo
resourceName
String
schemaFilePath
String

Full path of the loaded schema file...

functionsToDefine
Dictionary<String,ScriptBlock>

Returns

Applies to

ImportCimKeywordsFromModule(PSModuleInfo, String, String, Dictionary<String,ScriptBlock>, Collection<Exception>)

Import the CIM functions from a module...

public:
 static bool ImportCimKeywordsFromModule(System::Management::Automation::PSModuleInfo ^ module, System::String ^ resourceName, [Runtime::InteropServices::Out] System::String ^ % schemaFilePath, System::Collections::Generic::Dictionary<System::String ^, System::Management::Automation::ScriptBlock ^> ^ functionsToDefine, System::Collections::ObjectModel::Collection<Exception ^> ^ errors);
public static bool ImportCimKeywordsFromModule (System.Management.Automation.PSModuleInfo module, string resourceName, out string schemaFilePath, System.Collections.Generic.Dictionary<string,System.Management.Automation.ScriptBlock> functionsToDefine, System.Collections.ObjectModel.Collection<Exception> errors);
static member ImportCimKeywordsFromModule : System.Management.Automation.PSModuleInfo * string * string * System.Collections.Generic.Dictionary<string, System.Management.Automation.ScriptBlock> * System.Collections.ObjectModel.Collection<Exception> -> bool
Public Shared Function ImportCimKeywordsFromModule (module As PSModuleInfo, resourceName As String, ByRef schemaFilePath As String, functionsToDefine As Dictionary(Of String, ScriptBlock), errors As Collection(Of Exception)) As Boolean

Parameters

module
PSModuleInfo
resourceName
String
schemaFilePath
String

Full path of the loaded schema file...

functionsToDefine
Dictionary<String,ScriptBlock>
errors
Collection<Exception>

Error reported during deserialization.

Returns

Applies to