SCCM WebService API Reference

Default..::..SendMessage Method

Writes a log file.

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

Syntax


[WebMethodAttribute]
public bool SendMessage(
	string computerName,
	string component,
	string message,
	FLibErrorLevels errorLevel
)
<WebMethodAttribute> _
Public Function SendMessage ( _
	computerName As String, _
	component As String, _
	message As String, _
	errorLevel As FLibErrorLevels _
) As Boolean
[WebMethodAttribute]
public:
bool^ SendMessage(
	String^ computerName, 
	String^ component, 
	String^ message, 
	FLibErrorLevels^ errorLevel
)

Parameters

computerName
Type: String
Name of the computer.
component
Type: String
The component.
message
Type: String
The message.
errorLevel
Type: FLibErrorLevels
The error level.

Return Value

true if succeeded, false otherwise.