共用方式為


ImportModuleCommand.RequiredVersion Property

Definition

The version of the module to load.

public:
 property Version ^ RequiredVersion { Version ^ get(); void set(Version ^ value); };
public Version RequiredVersion { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="CimSession")]
[System.Management.Automation.Parameter(ParameterSetName="Name")]
[System.Management.Automation.Parameter(ParameterSetName="PSSession")]
[System.Management.Automation.Parameter(ParameterSetName="WinCompat")]
public Version RequiredVersion { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="CimSession")]
[System.Management.Automation.Parameter(ParameterSetName="Name")]
[System.Management.Automation.Parameter(ParameterSetName="PSSession")]
public Version RequiredVersion { get; set; }
member this.RequiredVersion : Version with get, set
[<System.Management.Automation.Parameter(ParameterSetName="CimSession")>]
[<System.Management.Automation.Parameter(ParameterSetName="Name")>]
[<System.Management.Automation.Parameter(ParameterSetName="PSSession")>]
[<System.Management.Automation.Parameter(ParameterSetName="WinCompat")>]
member this.RequiredVersion : Version with get, set
[<System.Management.Automation.Parameter(ParameterSetName="CimSession")>]
[<System.Management.Automation.Parameter(ParameterSetName="Name")>]
[<System.Management.Automation.Parameter(ParameterSetName="PSSession")>]
member this.RequiredVersion : Version with get, set
Public Property RequiredVersion As Version

Property Value

Attributes

Applies to