JAMS Developer Guide
StorePSRunspace Method


MVPSI.JAMS.Activities.PowerShell Namespace > PSWorkflowHost Class : StorePSRunspace Method
Stores a PSRunspace as a Workflow context property
Syntax
'Declaration
 
Public Shared Sub StorePSRunspace( _
   ByVal context As System.Activities.NativeActivityContext, _
   ByVal psWorkflowHost As PSWorkflowHost _
) 
'Usage
 
Dim context As System.Activities.NativeActivityContext
Dim psWorkflowHost As PSWorkflowHost
 
PSWorkflowHost.StorePSRunspace(context, psWorkflowHost)
public static void StorePSRunspace( 
   System.Activities.NativeActivityContext context,
   PSWorkflowHost psWorkflowHost
)

Parameters

context
psWorkflowHost
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PSWorkflowHost Class
PSWorkflowHost Members