Share via


GetSourceURL Method

GetSourceURL Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The GetSourceURL method returns the original source URL during an OnSyncSave event that was caused by a move.

Applies To

IGetSourceURL Interface

Type Library

EXOLEDB Type Library

DLL Implemented In

EXOLEDB.DLL

Syntax

[C++]HRESULT GetSourceURL (     BSTRpbstrURL );

Parameters

  • pbstrURL
    For an OnSyncSave event that fired during a move operation, this returns the original source URL of the item that caused the event. For all other events and operations this returns NULL.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method will contain valid data only during an OnSyncSave event during a move operation. When notified for other events and operations other than a move, it will return a NULL value.

See SourceURL Property for the Automation-compatible version of this method.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.