Sdílet prostřednictvím


SourceClass Property

Topic Last Modified: 2006-06-29

The name of the interface that is used to bind the currently bound object.

Applies To

IDataSource Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Property SourceClass As String

HRESULT get_SourceClass(BSTR* pVal);

Parameters

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

Remarks

The SourceClass property specifies the name of the interface that is used to bind the currently bound Component Object Model (COM) object. For example, if you bound and opened a BodyPart object by using the IDataSource.OpenObject method, the SourceClass property is "IBodyPart" and the IDataSource.Source property is the IUnknown interface on that object. If no currently bound COM object exists, the SourceClass property returns an empty string. This does not mean that the object is not bound; the object may still be bound to an item in the Active Directory® directory service or the Exchange store.

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