IAutomaticUpdates Interface

The IAutomaticUpdates interface contains the functionality of Automatic Updates.

Methods

The IAutomaticUpdates interface inherits the methods of the IDispatch interface.

In addition, IAutomaticUpdates defines the following methods.

MethodDescription

DetectNow

Begins automatic updating if it has not already started.

EnableService

Enables all the components that Automatic Updates requires.

Pause

Pauses automatic updating.

Resume

Resumes automatic updating if it is paused.

ShowSettingsDialog

Displays a dialog box that contains settings for Automatic Updates.

 

Properties

The IAutomaticUpdates interface defines the following properties.

PropertyAccess typeDescription

ServiceEnabled

Read-only

Indicates whether all the components that Automatic Updates requires are available.

Settings

Read-only

Contains the configuration settings for Automatic Updates.

 

Remarks

You can create an instance of this interface by using the AutomaticUpdates coclass. Use the Microsoft.Update.AutoUpdate program identifier to create the object.

Requirements

Minimum supported clientWindows XP, Windows 2000 Professional with SP3
Minimum supported serverWindows Server 2003, Windows 2000 Server with SP3
HeaderWuapi.h
IDLWuapi.idl
LibraryWuguid.lib
DLLWuapi.dll
IIDIID_IAutomaticUpdates is defined as 673425BF-C082-4C7C-BDFD-569464B8E0CE

Send comments about this topic to Microsoft

Build date: 10/23/2009

Tags :


Community Content

dmex
vb.net
<ComImport(), Guid("673425BF-C082-4C7C-BDFD-569464B8E0CE"), TypeLibType(CShort(&H10C0))> Public Interface IAutomaticUpdates
<DispId(&H60020001)> Sub DetectNow()
<DispId(&H60020002)> Sub Pause()
<DispId(&H60020003)> Sub [Resume]()
<DispId(&H60020004)> Sub ShowSettingsDialog()
<DispId(&H60020005)> ReadOnly Property Settings() As <MarshalAs(UnmanagedType.Interface)> IAutomaticUpdatesSettings
<DispId(&H60020006)> ReadOnly Property ServiceEnabled() As Boolean
<DispId(&H60020007)> Sub EnableService()
End Interface
Tags : vb.net

Page view tracker