AddAuditEntry Method
AddAuditEntry 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.
Provides an Audit Trail method for script writers.
Applies To
Type Library
Microsoft CDO Workflow Objects for Microsoft Exchange
DLL Implemented In
CDOWF.DLL
Syntax
[Visual Basic]Sub AddAuditEntry
(
bsDescription As String,
[hResult As Long]
)
[C++]HRESULT AddAuditEntry ( BSTR bsDescription, long hResult );
Parameters
bsDescription
hResult
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The AddAuditEntry method maps to the AddEntry Method of the IAuditTrail Interface. AddAuditEntry tells the workflow engine to call AddEntry using bsDescription and hResult as the first two parameters in AddEntry. AddEntry writes the bsDescription string to the current AuditTrailProvider.
Example
WorkflowSession.AddAuditEntry "My error/information message..."
See Also
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.