IWDTFSystemAction2::RebootRestartWithContext 方法 (wdtfsystemaction.h)
重新啟動系統,並使用內容數據重新啟動測試腳本。
語法
HRESULT RebootRestartWithContext(
[in] BSTR psContextName
);
參數
[in] psContextName
內容名稱。
傳回值
如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | Windows XP Professional |
支援的最低伺服器 | Windows Server 2008 |
目標平臺 | 桌面 |
標頭 | wdtfsystemaction.h |