SCCM WebService API Reference

SCCMWebService..::..GetRemoteLogFiles Method

Gets all log files from specified unc path.

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

Syntax


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

Parameters

uncPath
Type: String
The unc path.

Return Value

System.String[].

Exceptions


ExceptionCondition
Exception Unc path 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!