IFhConfigMgr::SaveConfiguration 方法 (fhcfg.h)

儲存至 在 FhConfigMgr 物件中上次呼叫 LoadConfigurationCreateDefaultConfigurationSaveConfiguration 方法針對目前使用者的檔案歷程記錄組態檔所做的所有變更。

注意

IFhConfigMgr 已被取代,未來版本可能會變更或無法使用。

Syntax

HRESULT SaveConfiguration();

傳回值

S_OK 成功,或失敗時發生失敗的 HRESULT 值。 可能的失敗 HRESULT 值包括 FhErrors.h 頭檔中定義的值。

備註

FhConfigMgr 物件的存留期期間,可以視需要呼叫這個方法多次。

規格需求

需求
最低支援的用戶端 Windows 8 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2012 [僅限傳統型應用程式]
目標平台 Windows
標頭 fhcfg.h

另請參閱

FhConfigMgr

IFhConfigMgr

IFhConfigMgr::CreateDefaultConfiguration

IFhConfigMgr::LoadConfiguration