DeleteEx method of the Win32_SessionBrokerFarmAccount class
[The Win32_SessionBrokerFarmAccount class is no longer available for use as of Windows Server 2012.]
Deletes the farm account.
Syntax
uint32 DeleteEx(
[in] boolean DeleteComputerObject
);
Parameters
-
DeleteComputerObject [in]
-
Indicates whether the computer object associated with the farm is to be removed from Active Directory.
Return value
Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2 |
End of client support |
None supported |
End of server support |
Windows Server 2008 R2 |
Namespace |
Root\CIMv2\TerminalServices |
MOF |
|
DLL |
|