SCCM WebService API Reference

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

Gets all log file full names from specified computer at specific path.

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

Syntax


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

Parameters

computerName
Type: String
Name of the computer.
path
Type: String
Path of the log directory.

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!