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.


Name Description

IUIResourceMgr::CancelDownload Method

Cancels a download request.

IUIResourceMgr::CancelExecution Method

Cancels an execution request.

IUIResourceMgr::ContinueExecution Method

Requests the execution manager to continue executing a pending user's request.

IUIResourceMgr::ExecuteProgram Method

Sends a request to the Software Distribution Agent to initiate the execution of a program.

IUIResourceMgr::GetActiveDownloads Method

Gets a list of all the programs whose content is in the process of being downloaded.

IUIResourceMgr::GetAvailableApplications Method

Gets a list of all the applications available for a user to install.

IUIResourceMgr::GetAvailableScripts Method

Gets a list of all the scripts available for a user to execute.

IUIResourceMgr::GetCacheInfo Method

Gets a CacheInfo object that contains all the information about the software distribution cache.

IUIResourceMgr::GetDownloadStatus Method

Gets the download status of a program that is currently downloading.

IUIResourceMgr::GetProgram Method

Gets the Program object for a particular program.

IUIResourceMgr::GetSWDistClientSettings Method

Gets a SWDistClientSettings object that contains all the settings for the Software Distribution Agent.

IUIResourceMgr::IsMandatoryProgramPending Method

Determines whether any assigned mandatory programs are waiting to run.

IUIResourceMgr::LogoffUser Method

Logs off the currently logged-on user.

IUIResourceMgr::RebootSystem Method

Initiates a system reboot.

IUIResourceMgr::RunOnCompletion Method

Flags a program to run when it is finished downloading.

IUIResourceMgr3::GetClientAgentSettings Method

Gets the ClientAgentSettings Class object.


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.



Runtime Requirements

Development Requirements

See Also

Send comments about this topic to Microsoft.