RemoveUnattendedExecutionAccount 方法 (WMI MSReportServer_ConfigurationSetting)

从报表服务器配置文件中删除无人参与的执行帐户条目。

语法

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

参数

  • HRESULT
    [out] 指示调用是成功还是失败的值。

返回值

返回 HRESULT,指示方法调用是成功还是失败。值 0 指示方法调用已成功。非零值指示已发生错误。

要求

命名空间: root\Microsoft\SqlServer\ReportServer\RS_<EncodedInstanceName>\v10\Admin

平台: Windows Server 2003 Datacenter Edition;Windows Server 2003 Enterprise Edition;Windows Server 2003 Standard Edition;Windows Vista;Windows XP Professional Service Pack 2 (SP2) 或 Service Pack 1 (SP1) 或者 Windows 2000(所有版本)