3.2.4.3.10 DumpAccountingData (Opnum 16)
The DumpAccountingData method dumps accounting data from a remote server acting as an accounting client to the server currently acting as its accounting database server. The time interval of dumping data SHOULD be set by the client by using the SetConfig method call of the management service running on the accounting client.
Note This method is expected to be called remotely by the WSRM management service that is acting as an accounting client. A client SHOULD NOT call this method.
-
[id(10), helpstring("method DumpAccountingData")] HRESULT DumpAccountingData( [in] BSTR bstrAccountingData );
bstrAccountingData: A string that specifies the accounting data to be dumped, in the form of an AccountingProcessList element (section 2.2.5.4).
-
If this parameter is NULL, E_INVALIDARG MUST be returned.
Return Values: This method returns 0x00000000 for success or a negative HRESULT value (in the following table or in [MS-ERREF] section 2.1.1) if an error occurs.
-
Return value/code
Description
0x00000000
S_OK
Operation successful.
0x80070057
E_INVALIDARG
One or more arguments are invalid.
0xC1FF0209
WRM_ERR_ACC_DISABLED_FOR_REMOTE_CLIENT
Accounting is disabled on the remote accounting server.
0xC1FF020A
WRM_ERR_ACC_CLIENT_CONN_TERMINATED
Connection to remote server failed. The remote connection has been terminated by the accounting server because the accounting functionality of the accounting client was disabled.
0xC1FF020E
WRM_ERR_ACC_NO_CONNECTION
The operation failed. There is no existing connection to the remote database server.
It is possible for multiple WSRM servers to have a common accounting database server.
Note Remote accounting is not supported in a workgroup environment.
Additional IWRMAccounting interface methods are specified in section 3.2.4.3.