Retrieves the path of the root setting that can be overridden to add synchronous commands in the specified configuration pass. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim pass As ConfigurationPass
Dim returnValue As String
returnValue = RunOnceCommand.GetSettingPath(pass)

Syntax

Visual Basic
Public Shared Function GetSettingPath( _
		ByVal pass As ConfigurationPass _
) As String
C#
public static string GetSettingPath(
		ConfigurationPass pass
);
C++
public:
static String^ GetSettingPath(
		ConfigurationPass pass
);
J#
public static System.String GetSettingPath(
		ConfigurationPass pass
);
JScript
public static function GetSettingPath(
		 pass : ConfigurationPass
) : String;

Parameters

pass

Configuration pass to which the setting will be applied.

Return Value

The path of the root setting that can be overridden to add synchronous commands in the specified configuration pass.

Remarks

Like DriverPath, the RunOnceCommand is a wrapper that encapsulates most of the detailed settings that need to be overridden for common tasks. These wrapper classes are convenient for most situations. However, there may be cases where AnswerFileSettingOverride will be needed.


Thread Safety

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

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also