Partager via


Delete Method

Delete 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 Delete method deletes the currently bound object or resource.

Applies To

IDataSource2 Interface

Type Library

Microsoft CDO for Exchange Management Library

DLL Implemented In

CDOEXM.DLL

Syntax

[Visual Basic]Sub Delete
()

[C++]HRESULT Delete ();

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Delete will delete the currently bound Microsoft Active Directory object. While you could use other means to delete Microsoft Exchange related Active Directory objects, the IDataSource2 Delete method also performs numerous Exchange related checks and cleanup procedures necessary for proper store maintenance.

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.