UIResourceMgr Class
Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
The UIResourceMgr class, in Configuration Manager 2007, implements the IUIResourceMgr interface, which exposes the main functionality used by all user interface components to interact with software distribution agents. The class also uses the IUIResourceMgr3 interface, which accesses the ClientAgentSettings Class. The only portion of this interface that is implemented is IUIResourceMgr3::GetClientAgentSettings Method.
Methods
Name | Description |
---|---|
Cancels a download request. |
|
Cancels an execution request. |
|
Requests the execution manager to continue executing a pending user's request. |
|
Sends a request to the Software Distribution Agent to initiate the execution of a program. |
|
Gets a list of all the programs whose content is in the process of being downloaded. |
|
Gets a list of all the applications available for a user to install. |
|
Gets a list of all the scripts available for a user to execute. |
|
Gets a CacheInfo object that contains all the information about the software distribution cache. |
|
Gets the download status of a program that is currently downloading. |
|
Gets the Program object for a particular program. |
|
Gets a SWDistClientSettings object that contains all the settings for the Software Distribution Agent. |
|
Determines whether any assigned mandatory programs are waiting to run. |
|
Logs off the currently logged-on user. |
|
Initiates a system reboot. |
|
Flags a program to run when it is finished downloading. |
|
Gets the ClientAgentSettings Class object. |
Remarks
The ProgID for the automation object is UIResource.UIResourceMgr and it is implemented as part of UIResource.dll. The Visual Basic reference for early binding is UIResource 1.0 Type Library. The early binding object name is UIResourceMgr.
This is the main class for interacting with the software distribution agent on a client. The main purpose of the class is to allow users to write applications to view the available optional programs on a client. Executing programs, however, is a bit more difficult. Because most of the class methods directly correlate with how the Run Advertised Program user interface works on a client, they do not translate well to SDK applications. If you want to execute programs with this class, you should use the IUIResourceMgr::ExecuteProgram Method method.
Requirements
UIResource.dll.
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
Concepts
Software Distribution Client Control Panel Automation
Software Distribution Control Panel Automation