Düzenle

Aracılığıyla paylaş


SWbemDateTime.SecondsSpecified property

The SecondsSpecified property of the SWbemDateTime object is a Boolean value that indicates whether the seconds component in the CIM DATETIME value contains an interval or a wildcard value. If SecondsSpecified is TRUE and IsInterval is FALSE, then SWbemDateTime.Seconds contains a date value. A datetime value that contains an interval cannot be converted into either the VT_DATE format or the FILETIME format. If SecondsSpecified is FALSE and IsInterval is TRUE, then SWbemDateTime.Seconds contains an interval.

For an explanation of this syntax, see Document Conventions for the Scripting API.

This property is read/write.

Syntax

SWbemDateTime.SecondsSpecified As Boolean

Property value

Examples

For examples of using the SWbemDateTime object to convert CIM DATETIME values to and from either the FILETIME format or the VT_DATE format, see WMI Tasks: Dates and Times. For a description of the CIM DATETIME format, see Date and Time Format.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Wbemdisp.h
Type library
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemDateTime
IID
IID_ISWbemDateTime

See also

SWbemDateTime.Seconds

SWbemDateTime

DATETIME