SCCMWebService..::..InitiateDataDiscovery Method
Initiates a data discovery.
Namespace:
SCCMWebServiceAssembly: 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
Exception | Condition |
---|---|
Exception | Computer 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! |