RemoveUnattendedExecutionAccount Method (WMI MSReportServer_ConfigurationSetting)

Deletes the unattended execution account entry from the report server configuration file.

Syntax

Public Sub RemoveUnattendedExecutionAccount(ByRef HRESULT as Int32)
public void RemoveUnattendedExecutionAccount (out Int32 HRESULT);

Parameters

  • HRESULT
    [out] Value indicating whether the call succeeded or failed.

Return Value

Returns an HRESULT indicating success or failure of the method call. A value of 0 indicates that the method call was successful. A non-zero value indicates that an error has occurred.

Requirements

Namespace: root\Microsoft\SqlServer\ReportServer\RS_<EncodedInstanceName>\v10\Admin

Platform: Windows Server 2003, Datacenter Edition; Windows Server 2003, Enterprise Edition; Windows Server 2003, Standard Edition; Windows Vista; Windows XP Professional with Service Pack 2 (SP2) or Service Pack 1 (SP1); or Windows 2000 (all versions)