Windows Dev Center

RegisterPSSessionConfiguration.AccessMode Property

Provides access to the AccessMode 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 PSSessionConfigurationAccessMode)

value = instance.AccessMode

instance.AccessMode = value

[ParameterSpecificCategoryAttribute] 
[DefaultValueAttribute(null)] 
public InArgument<PSSessionConfigurationAccessMode> AccessMode { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public InArgument<PSSessionConfigurationAccessMode> get_AccessMode ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_AccessMode (InArgument<PSSessionConfigurationAccessMode> value)

CompilerGeneratedAttribute 
public function get AccessMode () : InArgument<PSSessionConfigurationAccessMode>

CompilerGeneratedAttribute 
public function set AccessMode (value : InArgument<PSSessionConfigurationAccessMode>)

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