Skip to content

Latest commit

 

History

History
74 lines (62 loc) · 2.66 KB

nf-instance-cinstance-settimespan.md

File metadata and controls

74 lines (62 loc) · 2.66 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:instance.CInstance.SetTimeSpan
CInstance::SetTimeSpan (instance.h)
The SetTimeSpan method sets a property that represents a time span.
CInstance interface [Windows Management Instrumentation]
SetTimeSpan method
CInstance.SetTimeSpan
CInstance::SetTimeSpan
SetTimeSpan
SetTimeSpan method [Windows Management Instrumentation]
SetTimeSpan method [Windows Management Instrumentation]
CInstance interface
_hmm_cinstance_settimespan
instance/CInstance::SetTimeSpan
wmi.cinstance_settimespan
wmi\cinstance_settimespan.htm
wmi
d23197a2-7352-44e8-b962-2509fdf9673d
12/05/2018
CInstance interface [Windows Management Instrumentation],SetTimeSpan method, CInstance.SetTimeSpan, CInstance::SetTimeSpan, SetTimeSpan, SetTimeSpan method [Windows Management Instrumentation], SetTimeSpan method [Windows Management Instrumentation],CInstance interface, _hmm_cinstance_settimespan, instance/CInstance::SetTimeSpan, wmi.cinstance_settimespan
instance.h
FwCommon.h
Windows
Windows Vista
Windows Server 2008
FrameDyn.lib
FrameDynOS.dll; FrameDyn.dll
Windows
19H1
CInstance::SetTimeSpan
instance/CInstance::SetTimeSpan
c++
APIRef
kbSyntax
COM
FrameDynOS.dll
FrameDyn.dll
CInstance.SetTimeSpan

CInstance::SetTimeSpan

-description

[The CInstance 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 SetTimeSpan method sets a property that represents a time span.

-parameters

-param name

Name of the property that is set.

-param wbemtimespan [ref]

Value assigned to the time span property.

-returns

Returns TRUE if the operation was successful and FALSE if an attempt was made to set a nonexistent property or a property that is not a time span value. More information is available in the log file, Framework.log.