Retrieves the name of the target on which this session was created.
This property is read-only.
HRESULT get_TargetName( [out, retval] BSTR *targetName );
A pointer to a BSTR variable that receives the name of the target on which this session was created.
|Minimum supported client
|Minimum supported server
||Windows Server 2012