Udostępnij za pośrednictwem


PSTransportOption.LoadFromDefaults Method

Definition

Overloads

LoadFromDefaults(Boolean)

Sets all the values to default values. If keepAssigned is true only those values are set which are unassigned.

LoadFromDefaults(PSSessionType, Boolean)

Sets all the values to default values. If keepAssigned is true only those values are set which are unassigned.

LoadFromDefaults(Boolean)

Sets all the values to default values. If keepAssigned is true only those values are set which are unassigned.

protected internal virtual void LoadFromDefaults (bool keepAssigned);
abstract member LoadFromDefaults : bool -> unit
override this.LoadFromDefaults : bool -> unit
Protected Friend Overridable Sub LoadFromDefaults (keepAssigned As Boolean)

Parameters

keepAssigned
Boolean

Keep old values.

Applies to

LoadFromDefaults(PSSessionType, Boolean)

Sets all the values to default values. If keepAssigned is true only those values are set which are unassigned.

protected public:
 virtual void LoadFromDefaults(System::Management::Automation::Runspaces::PSSessionType sessionType, bool keepAssigned);
protected internal virtual void LoadFromDefaults (System.Management.Automation.Runspaces.PSSessionType sessionType, bool keepAssigned);
abstract member LoadFromDefaults : System.Management.Automation.Runspaces.PSSessionType * bool -> unit
override this.LoadFromDefaults : System.Management.Automation.Runspaces.PSSessionType * bool -> unit
Protected Friend Overridable Sub LoadFromDefaults (sessionType As PSSessionType, keepAssigned As Boolean)

Parameters

sessionType
PSSessionType
keepAssigned
Boolean

Applies to