Subject::GetInstance method
Returns the instance name of the Subject.
Syntax
virtual HRESULT GetInstance(
[out] LPCWSTR *name
) const = 0;
Parameters
-
name [out]
-
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 |
|