IFhReassociation::SelectConfiguration 方法 (fhcfg.h)

針對後續的重新關聯,選取 IFhReassociation::ScanTargetForConfigurations 方法在存儲設備或網路共用上探索到的其中一個檔案歷程記錄設定。 實際重新關聯是由 IFhReassociation::P erformReassociation 方法執行。

注意

IFhReassociation 已被取代,未來版本可能會遭到改變或無法使用。

語法

HRESULT SelectConfiguration(
  [in] DWORD Index
);

參數

[in] Index

探索到之組態的以零起始的索引。

傳回值

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

如果沒有具有指定索引的檔案歷程記錄組態,則會 HRESULT_FROM_WIN32(ERROR_NOT_FOUND) 傳回錯誤碼。

規格需求

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

另請參閱

FhReassociation

IFhReassociation

IFhReassociation::P erformReassociation

IFhReassociation::ScanTargetForConfigurations