Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Since Content Studio is running with limited privileges, Content Studio impersonates the caller before making this call.
[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
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
Exception | Condition |
---|---|
CSException | Invalid session identifier |
ArgumentException | Invalid connection id. |
Win32Exception | The event log was not cleared successfully. -or- The log cannot be opened. A Windows error code is not available. |
InvalidOperationException | The log does not exist. |
Remarks
.NET Framework Security
Permission | Description |
---|---|
System.SecurityPermissionSet | Only administrators can call this method. |
See Also