Partager via


InvokeCimMethodCommand.CimSession Property

Definition

The following is the definition of the input parameter "CimSession". Identifies the CimSession which is to be used to retrieve the instances.

public Microsoft.Management.Infrastructure.CimSession[] CimSession { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="CimInstanceSessionSet", ValueFromPipeline=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="QuerySessionSet", ValueFromPipeline=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ClassNameSessionSet", ValueFromPipeline=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="CimClassSessionSet", ValueFromPipeline=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ResourceUriSessionSet", ValueFromPipelineByPropertyName=true)]
public Microsoft.Management.Infrastructure.CimSession[] CimSession { get; set; }
member this.CimSession : Microsoft.Management.Infrastructure.CimSession[] with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="CimInstanceSessionSet", ValueFromPipeline=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="QuerySessionSet", ValueFromPipeline=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ClassNameSessionSet", ValueFromPipeline=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="CimClassSessionSet", ValueFromPipeline=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ResourceUriSessionSet", ValueFromPipelineByPropertyName=true)>]
member this.CimSession : Microsoft.Management.Infrastructure.CimSession[] with get, set
Public Property CimSession As CimSession()

Property Value

Attributes

Applies to