Sdílet prostřednictvím


SourceURL Property (DataSource)

Topic Last Modified: 2006-06-29

The URL of the currently bound item within the Active Directory® directory service or the Exchange store.

Applies To

IDataSource Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Property SourceURL As String

HRESULT get_SourceURL(BSTR* pVal);

Parameters

  • pVal
    Returns the value of the SourceURL property as a reference to a BSTR.

Remarks

The SourceURL property specifies the URL of the currently bound item located in Active Directory or the Exchange store. For example, if you bound and opened an item in the Exchange store by using the IDataSource.Open method, the SourceURL is a URL to that item. If no currently bound item exists, the SourceURL property returns an empty string. This does not mean that the object is not bound; the object may still be bound to a Component Object Model (COM) object.

If both the SourceURL and the SourceClass properties return an empty string, the implementing object is not bound.