Trace::SetName method
Sets the name of the Trace.
Syntax
virtual HRESULT SetName(
[in] LPCWSTR name
) = 0;
Parameters
-
name [in]
-
The 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 name is the value of element Trace/Description/Name.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|