Share via


RemoveCimInstanceCommand.CimSession Property

 

Gets and sets the Session parameter, which specifies the CIM session to use for removing the CIM instance.

Namespace:   Microsoft.Management.Infrastructure.CimCmdlets
Assembly:  Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)

Syntax

[ParameterAttribute(Mandatory = true, ValueFromPipeline = true, 
    ParameterSetName = "CimInstanceSessionSet")]
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true, 
    ParameterSetName = "QuerySessionSet")]
public CimSession[] CimSession { get; set; }
public:
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true, 
    ParameterSetName = "CimInstanceSessionSet")]
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true, 
    ParameterSetName = "QuerySessionSet")]
property array<CimSession^>^ CimSession {
    array<CimSession^>^ get();
    void set(array<CimSession^>^ value);
}
[<ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
    ParameterSetName = "CimInstanceSessionSet")>]
[<ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
    ParameterSetName = "QuerySessionSet")>]
member CimSession : CimSession[] with get, set
<ParameterAttribute(Mandatory := True, ValueFromPipeline := True,
    ParameterSetName := "CimInstanceSessionSet")>
<ParameterAttribute(Mandatory := True, ValueFromPipeline := True,
    ParameterSetName := "QuerySessionSet")>
Public Property CimSession As CimSession()

Property Value

Type: Microsoft.Management.Infrastructure.CimSession[]

Returns CimSession.

See Also

RemoveCimInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top