ReceivePSJobCommand.Session Property

Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in system.management.automation.dll)

Usage

Syntax

'Declaration
<AliasAttribute(System.String[])> _
<ValidateNotNullAttribute> _
<ParameterAttribute(ValueFromPipelineByPropertyName:=True, ParameterSetName:="Session", Position:=1)> _
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")> _
Public Property Session As RemoteRunspaceInfo()
[AliasAttribute(System.String[])] 
[ValidateNotNullAttribute] 
[ParameterAttribute(ValueFromPipelineByPropertyName=true, ParameterSetName="Session", Position=1)] 
[SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")] 
public RemoteRunspaceInfo[] Session { get; set; }
[AliasAttribute(System.String[])] 
[ValidateNotNullAttribute] 
[ParameterAttribute(ValueFromPipelineByPropertyName=true, ParameterSetName=L"Session", Position=1)] 
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1819:PropertiesShouldNotReturnArrays")] 
public:
property array<RemoteRunspaceInfo^>^ Session {
    array<RemoteRunspaceInfo^>^ get ();
    void set (array<RemoteRunspaceInfo^>^ value);
}
/** @property */
public RemoteRunspaceInfo[] get_Session ()

/** @property */
public void set_Session (RemoteRunspaceInfo[] value)
public function get Session () : RemoteRunspaceInfo[]

public function set Session (value : RemoteRunspaceInfo[])

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP

See Also

Reference

ReceivePSJobCommand Class
ReceivePSJobCommand Members
Microsoft.PowerShell.Commands Namespace