Returns the full path to the folder that contains the servicing components to which this version of the CPI API is bound. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim returnValue As String
returnValue = Cpi.GetPathToServicingStack()

Syntax

Visual Basic
Public Shared Function GetPathToServicingStack() As String
C#
public static string GetPathToServicingStack();
C++
public:
static String^ GetPathToServicingStack();
J#
public static System.String GetPathToServicingStack();
JScript
public static function GetPathToServicingStack() : String;

Return Value

The full path to the folder containing the servicing components to which this version of the CPI API is bound.

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