AuditTrailProvider Property

AuditTrailProvider 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.

Contains the programmatic identifier (PROGID) of the Component Object Model (COM) class which will be used for logging.

Applies To

IProcessDefinition Interface

Type Library

Microsoft CDO Workflow Objects for Microsoft Exchange

DLL Implemented In

CDOWF.DLL

Syntax

[Visual Basic]Property AuditTrailProvider As String

[C++]HRESULT get_AuditTrailProvider(BSTRpVal);
HRESULT put_AuditTrailProvider(BSTR Val);

Parameters

  • pVal
    Returns the value of the AuditTrailProvider property as a reference to a BSTR.
  • Val
    Sets the value of the AuditTrailProvider property to the value of the BSTR.

Remarks

This property corresponds directly to the Exchange store property https://schemas.microsoft.com/cdo/workflow/audittrailprovider. Applications can also use Microsoft ActiveX Data Objects (ADO), OLE DB, or WebDAV to update this property directly.

  1. The AuditTrailProvider must support IAuditTrail interface. Cdowf.dll includes AuditTrailEventLog which writes to the Microsoft Windows server operating systems event log.

Example

The following example defines a ProcessDefinition variable, creates the object, and uses the object to set the AuditTrailProvider property.

[Visual Basic]

Dim strProgID As String Dim iPd As CDOWF.ProcessDefinition Set iPd = New CDOWF.ProcessDefinition

'strProgID may be the ProgID of a provider that you wrote 'or the sample provider included with Workflow for 'Microsoft Exchange 2000 Server. With iPd .AuditTrailProvider = strProgID End With

See Also

Bind Method

AddEntry Method

AuditTrail Property

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.