This documentation is archived and is not being maintained.

SourceClass Property

Exchange Server 2003

SourceClass Property

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 name of the interface used to bind the currently bound object.

Applies To

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In



        [Visual Basic]Property SourceClass As String
        [C++]HRESULT get_SourceClass(BSTRpVal);


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


The SourceClass property specifies the name of the interface used to bind the currently bound Component Object Model (COM) object. For example, if you bound and opened a BodyPart object using the IDataSource.OpenObject method, the SourceClass property is "IBodyPart" and the IDataSource.Source property is the IUnknown interface on that object. If there is no currently bound COM object, 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 Microsoft Active Directory or the Exchange store.

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

See Also

SourceURL Property

Source Property

SaveToObject Method

OpenObject Method