RegisterPSSessionConfiguration.NoServiceRestart Property

Provides access to the NoServiceRestart parameter. Introduced in Windows PowerShell 3.0.


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

'Usage
Dim instance As RegisterPSSessionConfiguration
Dim value As InArgument(Of SwitchParameter)

value = instance.NoServiceRestart

instance.NoServiceRestart = value

[DefaultValueAttribute(null)] 
[ParameterSpecificCategoryAttribute] 
public InArgument<SwitchParameter> NoServiceRestart { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public InArgument<SwitchParameter> get_NoServiceRestart ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_NoServiceRestart (InArgument<SwitchParameter> value)

CompilerGeneratedAttribute 
public function get NoServiceRestart () : InArgument<SwitchParameter>

CompilerGeneratedAttribute 
public function set NoServiceRestart (value : InArgument<SwitchParameter>)

Property Value

Returns InArgument.

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:
© 2015 Microsoft