Share via


RemoveCimSessionCommand.CimSession Property

 

Gets and sets the CimSession parameter, which specifies one or more CimSession objects to be removed from the local Windows PowerShell session.

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

Syntax

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

Property Value

Type: Microsoft.Management.Infrastructure.CimSession[]

Returns CimSession.

See Also

RemoveCimSessionCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top