Subject::SetInstance method
Sets the instance name of the Subject.
Syntax
virtual HRESULT SetInstance(
[in] LPCWSTR name
) = 0;
Parameters
-
name [in]
-
The instance name.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
The Subject objects hold information from the Iteration/TestCases/TestCase/Subject elements.
The instance name is the value of element Subject/Instance/ProgrammaticName.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|