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)
Namespace: Microsoft.PowerShell.Core.Activities
Assembly: Microsoft.PowerShell.Core.Activities (in Microsoft.PowerShell.Core.Activities.dll)
[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
Windows Developer Preview, Windows Server Developer PreviewSend comments about this topic to Microsoft.
