StartService Class

Activity to invoke the Microsoft.PowerShell.Management\Start-Service command in a workflow. This SDK programming element is introduced in Windows PowerShell 3.0.


Namespace: Microsoft.PowerShell.Management.Activities
Assembly: Microsoft.PowerShell.Management.Activities (in Microsoft.PowerShell.Management.Activities.dll)

'Usage
Dim instance As StartService

'Declaration
<GeneratedCodeAttribute("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")> _
Public NotInheritable Class StartService
	Inherits PSRemotingActivity
/** @attribute GeneratedCodeAttribute("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0") */ 
public final class StartService extends PSRemotingActivity
GeneratedCodeAttribute("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0") 
public final class StartService extends PSRemotingActivity

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

 

Target Platforms


Show:
© 2014 Microsoft