Share via


RemoveCimSessionCommand.InstanceId Property

 

Gets and sets the InstanceId parameter, which specifies one or more GUIDs representing the sessions to remove (terminate).

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

Syntax

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

Property Value

Type: System.Guid[]

Returns Guid.

See Also

RemoveCimSessionCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top