Share via


MSFT_TemplateBase class

The MSFT_TemplateBase class is a base class from which all template classes can optionally derive. Derivation from MSFT_TemplateBase is required when the template provider needs to provide __InstanceOperationEvent template instances.

Note  For more information about support and installation of this component on a specific operating system, see Operating System Availability of WMI Components.

Syntax

class MSFT_TemplateBase
{
  boolean Active = TRUE;
};

Members

The MSFT_TemplateBase class has these types of members:

  • Properties

Properties

The MSFT_TemplateBase class has these properties.

Active

Data type: boolean

Access type: Read-only

Qualifiers: Not_Null

If TRUE, this template is active. The default value is TRUE.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

None supported

End of client support

Windows XP

Namespace

\root\subscription

MOF

Tpmlprov.mof

DLL

Tpmlprov.dll