勇芳软件工作室.汉化:  Windows Management Instrumentation > Scripting API for WMI > Scripting API Objects > SWbemDateTime >

MicrosecondsSpecified Property

Previous pageReturn to chapter overviewNext page

描述

 

SWbemDateTime对象的MicrosecondsSpecified属性是一个布尔值,指示CIM datetime值中的微秒组件是否包含间隔或通配符值。如果MicrosecondsSpecifiedTRUE,IsInterval为FALSE,则SWbemDateTime.Microseconds包含datetime值。包含间隔的日期时间值不能转换为VT_DATE格式或FILETIME格式。如果HoursSpecifiedFALSEIsIntervalTRUE,则SWbemDateTime.Microseconds包含一个间隔。

 

PowerBASIC 语法

 

PROPERTY GET MicrosecondsSpecified () AS INTEGER

PROPERTY SET MicrosecondsSpecified (BYVAL bMicrosecondsSpecified AS INTEGER)

 

参数(仅限设置属性)

 

bMicrosecondsSpecified

 

VARIANT_BOOL.指示CIM datetime值中的微秒组件是否包含间隔或通配符值的布尔值。

 

返回值(仅获取资源)

 

VARIANT_BOOL.VARIANT_FALSE(0)或VARIANT_TRUE(-1)。

 

要求

 

客户

需要Windows Vista或Windows XP。

服务器

需要Windows Server 2008或Windows Server 2003。

类型库

使用Wbemdisp.tlb。

Wbemdisp.inc,

DLL

需要Wbemdisp.dll。