C# Class Microsoft.Tools.WindowsInstaller.PowerShell.Commands.GetTableCommand

Inheritance: PackageCommandBase
Exibir arquivo Open project: heaths/psmsi

Private Properties

Property Type Description
GetQuery string
OpenProduct Microsoft.Deployment.WindowsInstaller.Session
WriteRecords void

Protected Methods

Method Description
BeginProcessing ( ) : void

Sets up the user interface handlers.

EndProcessing ( ) : void

Restores the previous user interface handlers.

ProcessItem ( System.Management.Automation.PSObject item ) : void

Opens the database specified by the item and executes the specified query.

ProcessRecord ( ) : void

Opens an installed Product or the database specified by the Path or LiteralPath.

Private Methods

Method Description
GetQuery ( Microsoft.Deployment.WindowsInstaller.Database db, string path ) : string
OpenProduct ( Microsoft.Deployment.WindowsInstaller.ProductInstallation product ) : Microsoft.Deployment.WindowsInstaller.Session
WriteRecords ( Microsoft.Deployment.WindowsInstaller.Database db, string path ) : void

Method Details

BeginProcessing() protected method

Sets up the user interface handlers.
protected BeginProcessing ( ) : void
return void

EndProcessing() protected method

Restores the previous user interface handlers.
protected EndProcessing ( ) : void
return void

ProcessItem() protected method

Opens the database specified by the item and executes the specified query.
protected ProcessItem ( System.Management.Automation.PSObject item ) : void
item System.Management.Automation.PSObject A file item that references a package database.
return void

ProcessRecord() protected method

Opens an installed Product or the database specified by the Path or LiteralPath.
protected ProcessRecord ( ) : void
return void