WBEMTimeSpan::GetBSTR method (wbemtime.h)

[The WBEMTimeSpan class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]

The GetBSTR method gets the time span as a BSTR in Date and Time format.

Syntax

BSTR  throw(CHeap_Exception) GetBSTR();

Return value

The time span is returned as a BSTR in Date and Time Format.

Remarks

The calling method must call SysFreeString on the return value.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wbemtime.h
DLL FrameDynOS.dll; FrameDyn.dll