Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScriptConfigurationEntry Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents a script for a runspace configuration. This class cannot be inherited.

Namespace:   System.Management.Automation.Runspaces
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.Runspaces.RunspaceConfigurationEntry
    System.Management.Automation.Runspaces.ScriptConfigurationEntry

public sealed class ScriptConfigurationEntry : RunspaceConfigurationEntry

NameDescription
System_CAPS_pubmethodScriptConfigurationEntry(String, String)

Initializes a new instance of the ScriptConfigurationEntry class that contains the name of the configuration entry and the script.

NameDescription
System_CAPS_pubpropertyBuiltIn

Gets a Boolean value that indicates whether the configuration entry was created at system start.(Inherited from RunspaceConfigurationEntry.)

System_CAPS_pubpropertyDefinition

Gets the content of the configuration script.

System_CAPS_pubpropertyName

Gets the name of the configuration entry.(Inherited from RunspaceConfigurationEntry.)

System_CAPS_pubpropertyPSSnapIn

Gets information about the Windows PowerShell snap-in where this entry came from.(Inherited from RunspaceConfigurationEntry.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

When configuring a runspace, a collection of ScriptConfigurationEntry objects is used to specify the scripts that are available in the runspace. The available scripts are specified by the Scripts property of the RunspaceConfiguration class.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: