PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Adds an audit event record, likely to be completed with one or more audit object records.

Namespace: Smartsite.Data
Assembly:  Smartsite.Data (in Smartsite.Data.dll)

Syntax

C#Copy imageCopy Code
public static long AddEvent(
	string loginName,
	 correlationID
)
Visual Basic (Declaration)Copy imageCopy Code
Public Shared Function AddEvent ( _
	loginName As , _
	correlationID As  _
) As Long

Parameters

loginName
String
I: Login name of the user that causes the audit event.
correlationID
Guid
I: Correlation identifier, or the empty Guid if not applicable.

Return Value

Returns the number of the created audit event. This can be used to add audit objects to the audit event.

See Also

Auditor Class
Smartsite.Data Namespace
Advanced