SCCM WebService API Reference

SCCMWebService..::..DisableComputerAccount Method

Disables a computer account in AD.

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

Syntax


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

Parameters

computerName
Type: String
Name of the computer.

Return Value

true if succeded, false otherwise.