SCCM WebService API Reference

SCCMWebService..::..GetSCCMLogFiles Method (String)

Gets all log file full names from specified computer.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public string[] GetSCCMLogFiles(
	string computerName
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function GetSCCMLogFiles ( _
	computerName As String _
) As String()
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
array<String^>^ GetSCCMLogFiles(
	String^ computerName
)

Parameters

computerName
Type: String
Name of the computer.

Return Value

Array of log file full names.

Exceptions


ExceptionCondition
ExceptionComputer name must not be empty! or Unable to get DNS host name for computer + computerName + ! or Unable to get SCCM client properties for computer + computerName + because host is unreachable!