SCCMWebService..::..WakeUpComputer Method
Wakes up the specified computer.
Namespace:
SCCMWebServiceAssembly: SCCMWebService (in SCCMWebService.dll)
Syntax
[SoapHeaderAttribute] [WebMethodAttribute] public bool WakeUpComputer( string computername, int numOfRetries )
<SoapHeaderAttribute> _ <WebMethodAttribute> _ Public Function WakeUpComputer ( _ computername As String, _ numOfRetries As Integer _ ) As Boolean
[SoapHeaderAttribute] [WebMethodAttribute] public: bool^ WakeUpComputer( String^ computername, int^ numOfRetries )
Return Value
true if succeeded, otherwise false.Exceptions
Exception | Condition |
---|---|
Exception | Computer name must not be empty! or resourceID for computer + computername + not found! or The query + query + returned no results! |