ISyncSchedule::SetFlags method

[The ISyncSchedule::SetFlags method is available for use through Windows XP. It is not available in subsequent versions of Windows.]

Sets flags for a synchonization schedule.

Syntax

HRESULT SetFlags(
  [in] DWORD dwFlags
);

Parameters

dwFlags [in]

Type: DWORD

One or more of the following values.

SYNCSCHEDINFO_FLAGS_READONLY (0x0001)

The schedule item is read-only and cannot be altered.

SYNCSCHEDINFO_FLAGS_AUTOCONNECT (0x0002)

A network connection required for the synchronization should be requested automatically.

SYNCSCHEDINFO_FLAGS_HIDDEN (0x0004)

The item is not displayed in the synchronization schedule UI.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Syncmgr.h

IDL

Syncmgr.idl

DLL

Mobsync.dll