WBEMTimeSpan::GetBSTR method

[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.


BSTR  throw(CHeap_Exception) GetBSTR(



This method has no parameters.

Return Value

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


The calling method must call SysFreeString on the return value.


Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header wbemtime.h
DLL FrameDynOS.dll; FrameDyn.dll