次の方法で共有


3.1.4.11.1 IWbemBackupRestoreEx::Pause (Opnum 5)

On the IWbemBackupRestoreEx::Pause method invocation, the server MUST set the IsServerPaused flag to True and MUST persist the CIM database in a consistent state.

 HRESULT Pause();

This method has no parameters.

Return Values: This method MUST return an HRESULT value that MUST indicate the status of the method call. The server MUST return WBEM_S_NO_ERROR (specified in section 2.2.11) to indicate the successful completion of the method.

If Pause is called and the IsServerPaused flag is set to True, the server MUST return WBEM_E_INVALID_OPERATION. In case of any other failure, the server MUST return an HRESULT whose S (severity) bit is set as specified in [MS-ERREF] section 2.1. The actual HRESULT value is implementation dependent.

WBEM_S_NO_ERROR (0x00)

The IWbemBackupRestoreEx::Pause method MUST be called on the interface that is obtained from the DCOM Remote Protocol activation of the CLSID_WbemBackupRestore interface, as specified in this section.

The server MUST NOT reset the backup timer if Pause is called multiple times while the IsServerPaused flag is set to True.