SCCMWebService..::..InitiateWindowsInstallerSourceListUpdate Method
Initiates a windows installer source list update.
Namespace:
SCCMWebServiceAssembly: SCCMWebService (in SCCMWebService.dll)
Syntax
[SoapHeaderAttribute] [WebMethodAttribute] public bool InitiateWindowsInstallerSourceListUpdate( string computerName )
<SoapHeaderAttribute> _ <WebMethodAttribute> _ Public Function InitiateWindowsInstallerSourceListUpdate ( _ computerName As String _ ) As Boolean
[SoapHeaderAttribute] [WebMethodAttribute] public: bool^ InitiateWindowsInstallerSourceListUpdate( String^ computerName )
Parameters
- computerName
- Type: String
Name of the computer.
Return Value
true if successfull, false otherwise.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 Windows installer source list update cycle on computer + computerName + because host is unreachable! |