Deployment Tools Foundation
SourceList Class
A list of sources for an installed product or patch.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class SourceList : ICollection<string>, IEnumerable<string>, IEnumerable
Public Class SourceList Implements ICollection(Of String), IEnumerable(Of String), IEnumerable
public ref class SourceList : ICollection<String^>, IEnumerable<String^>, IEnumerable
Members
All Members | Methods | Properties | |||
|
|
|
Icon | Member | Description |
---|---|---|
Add(String) |
Adds a network or URL source to the source list of the installed product.
|
|
Clear()()()() |
Clears sources of all types: network, url, and media.
|
|
ClearNetworkSources()()()() |
Removes all network sources from the list. URL sources are not affected.
|
|
ClearUrlSources()()()() |
Removes all URL sources from the list. Network sources are not affected.
|
|
Contains(String) |
Checks if the specified source exists in the list.
|
|
CopyTo(array<String>[]()[][], Int32) |
Copies the network and URL sources from this list into an array.
|
|
Count |
Gets the number of network and URL sources in the list.
|
|
DiskPrompt |
Gets or sets the prompt template that is used when prompting the user
for installation media.
|
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
ForceResolution()()()() |
Forces the installer to search the source list for a valid
source the next time a source is required. For example, when the
installer performs an installation or reinstallation, or when it
requires the path for a component that is set to run from source.
|
|
GetEnumerator()()()() |
Enumerates the network and URL sources in the source list of the patch or product installation.
|
|
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
|
Insert(String, Int32) |
Adds or reorders a network or URL source for the product or patch.
|
|
IsReadOnly |
Gets a boolean value indicating whether the list is read-only.
A SourceList is never read-only.
|
|
Item[([( String])]) |
Gets or sets source list information properties of a product or patch installation.
|
|
LastUsedSource |
Gets or sets the most recently used source location for the product.
|
|
LastUsedType |
Gets the type of the last-used source.
|
|
MediaList |
Gets the list of disks registered for the media source of
the patch or product installation.
|
|
MediaPackagePath |
Gets or sets the path relative to the root of the installation media.
|
|
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
PackageName |
Gets or sets the name of the Windows Installer package or patch package
on the source.
|
|
Remove(String) |
Removes a network or URL source.
|
|
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
Inheritance Hierarchy
Object | |
SourceList |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)