SCCM WebService API Reference

SCCMWebService..::..InitiateDataDiscovery Method

Initiates a data discovery.

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

Syntax


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

Parameters

computerName
Type: String
Name of the computer.

Return Value

true if succeeded, otherwise false.

Exceptions


ExceptionCondition
ExceptionComputer name must not be empty! or Unable to get DNS host name for computer + computerName + ! or Unable to initiate a data discovery cycle on computer + computerName + because host is unreachable!