다음을 통해 공유


ConnectPSSessionCommand.InstanceId Property

Definition

RemoteRunspaceId to retrieve corresponding PSSession object

public:
 virtual property cli::array <Guid> ^ InstanceId { cli::array <Guid> ^ get(); void set(cli::array <Guid> ^ value); };
public override Guid[] InstanceId { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerNameGuid")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriGuid")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="InstanceId")]
[System.Management.Automation.ValidateNotNull]
public override Guid[] InstanceId { get; set; }
member this.InstanceId : Guid[] with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerNameGuid")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriGuid")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="InstanceId")>]
[<System.Management.Automation.ValidateNotNull>]
member this.InstanceId : Guid[] with get, set
Public Overrides Property InstanceId As Guid()

Property Value

Guid[]
Attributes

Applies to