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)

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

value = instance.RunAsCredential

instance.RunAsCredential = value

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

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

CompilerGeneratedAttribute 
public function get RunAsCredential () : InArgument<PSCredential>

CompilerGeneratedAttribute 
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


Show:
© 2014 Microsoft