Export (0) Print
Expand All

IPublishedApp::Unschedule method

Cancels the installation of an application published by an application publisher.

Syntax


HRESULT Unschedule();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method is called in each of the following circumstances.

  1. The user selected the Do Not Add Program option in the Add Later dialog box in Add/Remove Programs in Control Panel.
  2. The user has selected an installation time later than either the expiration time or the assigned time as specified in the published application information. In these circumstances, implementations are expected to cancel any scheduled installation for the application.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shappmgr.h

IDL

Shappmgr.idl

See also

IPublishedApp
IAppPublisher
IShellApp
IPublishedApp::GetPublishedAppInfo

 

 

Community Additions

ADD
Show:
© 2014 Microsoft