Deployment Tools Foundation
Remove Method (diskId)
Removes a specified disk from the set of registered disks.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public bool Remove( int diskId )
Public Function Remove ( diskId As Integer ) As Boolean
public: bool Remove( int diskId )
member Remove : diskId : int -> bool
Parameters
- diskId (Int32)
- ID of the disk to remove
Return Value
Remarks
Win32 MSI API: MsiSourceListClearMediaDisk
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)