The SMS_ContextMethods Windows Management Instrumentation (WMI) class is an abstract class, in Configuration Manager, that contains methods for caching WMI context qualifiers with the SMS Provider.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_ContextMethods ();

Methods

The following table lists the methods in SMS_ContextMethods.

Term Description

ClearContextHandle Method in Class SMS_ContextMethods

Releases cached context data.

GetContextHandle Method in Class SMS_ContextMethods

Caches multiple context qualifiers within the SMS Provider. This allows applications to use a much smaller context object when making API calls to WMI.

Properties

The SMS_ContextMethods class does not define any properties.

Remarks

Class qualifiers for this class include:

  • Abstract

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Requirements

Runtime Requirements

Development Requirements

See Also