ErrorManagerClear Method (ConnectionId, SessionId) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Clears the Content Studio event log including events for all sites.

Namespace: ContentStudio
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public void Clear(
	ConnectionId connectionId,
	SessionId sessionId
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
Exceptions

ExceptionCondition
CSExceptionInvalid session identifier
ArgumentExceptionInvalid connection id.
Win32ExceptionThe event log was not cleared successfully. -or- The log cannot be opened. A Windows error code is not available.
InvalidOperationExceptionThe log does not exist.
Remarks

Since Content Studio is running with limited privileges, Content Studio impersonates the caller before making this call.
.NET Framework Security

See Also

Reference