ISyncSchedule::GetScheduleName method

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

Gets the declared name of the schedule.

Syntax

HRESULT GetScheduleName(
  [in, out] DWORD  *pcbSize,
  [out]     LPWSTR pwszScheduleName
);

Parameters

  • pcbSize [in, out]
    Type: DWORD*

    A pointer to the size, in bytes, of pwszScheduleName. On entry, it is the size of the buffer you provide. On exit, it is the size of the retrieved string.

  • pwszScheduleName [out]
    Type: LPWSTR

    A pointer to a buffer that receives the name of the schedule.

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