Retrieves the source paths of the package. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim packageAction1 As PackageAction

Dim returnValue As SourcePathCollection
returnValue = packageAction1.SourcePaths

Syntax

Visual Basic
Public ReadOnly Property SourcePaths() As SourcePathCollection
C#
public SourcePathCollection SourcePaths {get;}
C++
public:
property SourcePathCollection^ SourcePaths {
		SourcePathCollection^ get();
}
J#
public SourcePathCollection get_SourcePaths();
JScript
public function get SourcePaths() : SourcePathCollection;

Property Value

A read-only collection that lists all source paths of the package.

Remarks

There can be more than one path associated with a package. The first path in the collection is used during unattended installation. The packages with a permanence type of Temporary will be removed after the installation. For example, multiple source paths can be used to specify a package on a local drive (such as when you create a configuration set) or on a network share. The path of the local drive is a temporary one and will be used by setup. The path on the network share can be used later for other servicing purposes.


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

[an error occurred while processing this directive]