다음을 통해 공유


GetSourceURL Method

Topic Last Modified: 2006-06-13

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

HRESULT GetSourceURL
(
        BSTR* pbstrURL
);

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.