Microsoft Operations Manager

ServicePackInfo Property

The ServicePackInfoproperty gets information about installed service packs.

[VBScript] SystemManager.ServicePackInfo

Access

Read/Write

Return Value

String

Remarks

For Windows NT and Windows 2000, the return value is a string (such as Service Pack 3) that indicates the latest service pack installed on the system. If no service pack has been installed, the string is empty. For Microsoft Windows 9x, the return value is a string that provides additional information about the operating system.

Examples

The following example shows how to access the service pack information.

[VBScript] 
Dim objSystemManager, strSPInfo

Set objSystemManager = CreateObject("OpScrUtil.SystemManager")

strSPInfo = objSystemManager.ServicePackInfo

Set objSystemManager = Nothing

Requirements

Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1

See Also

SystemManager Object


Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.