次の方法で共有


InvokeCommandCommand.InDisconnectedSession Property

Definition

Specifies that after the command is invoked on a remote computer the remote session should be disconnected.

public:
 property System::Management::Automation::SwitchParameter InDisconnectedSession { System::Management::Automation::SwitchParameter get(); void set(System::Management::Automation::SwitchParameter value); };
public System.Management.Automation.SwitchParameter InDisconnectedSession { get; set; }
[System.Management.Automation.Alias(new System.String[] { "Disconnected" })]
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathUri")]
[System.Management.Automation.Parameter(ParameterSetName="Uri")]
public System.Management.Automation.SwitchParameter InDisconnectedSession { get; set; }
member this.InDisconnectedSession : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Alias(new System.String[] { "Disconnected" })>]
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathUri")>]
[<System.Management.Automation.Parameter(ParameterSetName="Uri")>]
member this.InDisconnectedSession : System.Management.Automation.SwitchParameter with get, set
Public Property InDisconnectedSession As SwitchParameter

Property Value

Attributes

Applies to