SCCM WebService API Reference

SCCMWebService..::..TestWinRM Method

Tests the winrm connection.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public bool TestWinRM(
	string computerName
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function TestWinRM ( _
	computerName As String _
) As Boolean
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
bool^ TestWinRM(
	String^ computerName
)

Parameters

computerName
Type: String
Name of the computer.

Return Value

true if successfull, false otherwise.

Exceptions


ExceptionCondition
ExceptionUnable to get DNS host name for computer + computerName + !