RegisterPSSessionConfiguration.RunAsCredential Property

Provides access to the RunAsCredential parameter. This SDK programming element is introduced in Windows PowerShell 3.0.

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

Dim instance As RegisterPSSessionConfiguration
Dim value As InArgument(Of PSCredential)

value = instance.RunAsCredential

instance.RunAsCredential = value

public InArgument<PSCredential> RunAsCredential { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public InArgument<PSCredential> get_RunAsCredential ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_RunAsCredential (InArgument<PSCredential> value)

public function get RunAsCredential () : InArgument<PSCredential>

public function set RunAsCredential (value : InArgument<PSCredential>)

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

Windows Developer Preview, Windows Server Developer Preview

© 2014 Microsoft