Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Restores the COM+ class registration database (RegDB) from the specified file. For this to take effect, a system reboot is required.
Syntax
HRESULT RestoreREGDB(
[in] BSTR bstrBackupFilePath
);
Parameters
[in] bstrBackupFilePath
The name of the file to which the database was backed up.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
The method is not implemented. |
|
Errors occurred while accessing one or more objects. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | comadmin.h |