SCCM WebService API Reference

SCCMWebService..::..GetEventLogOverflowAction Method

Gets the event log overflow action from specified computer.

Namespace:  SCCMWebService
Assembly:  SCCMWebService (in SCCMWebService.dll)

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public EventLogOverflowAction GetEventLogOverflowAction(
	string computerName,
	string eventlogName
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function GetEventLogOverflowAction ( _
	computerName As String, _
	eventlogName As String _
) As EventLogOverflowAction
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
EventLogOverflowAction^ GetEventLogOverflowAction(
	String^ computerName, 
	String^ eventlogName
)

Parameters

computerName
Type: String
Name of the computer.
eventlogName
Type: String
Name of the event log.

Return Value

EventLogOverflowAction

Exceptions


ExceptionCondition
ExceptionComputer name must not be empty. or Eventlog name must not be empty. or Host is unreachable. or Eventlog + eventlogName + not found on computer + computerName + .