Trace::SetFile method
Sets the file name of the Trace.
Syntax
virtual HRESULT SetFile(
[in] LPCWSTR file
) = 0;
Parameters
-
file [in]
-
The file name.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
Trace objects hold data from AssessmentResult/Traces/Trace, Iteration/Trace and Activity/Trace elements.
The file name is the value of element Trace/File.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|