Share via


SMS_Template Server WMI Class

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The SMS_Template Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a deployment template available on the site that you can use instead of the Configuration Manager console deployment wizard to deploy a software update.

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

Class SMS_Template : SMS_BaseClass
{
      String Data;
      String Description;
      String Name;
      String SchemaGUID;
      String TemplateUniqueID;
      UInt32 Type;
};

Methods

The SMS_Template class does not define any methods.

Properties

  • Data
    Data type: String

    Access type: Read/Write

    Qualifiers: [lazy, large]

    Extended data for the template, in XML format.

  • Description
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    A comment describing the template.

  • Name
    Data type: String

    Access type: Read/Write

    Qualifiers: [not_null]

    User-friendly display name for the template.

  • SchemaGUID
    Data type: String

    Access type: Read/Write

    Qualifiers: [optional]

    GUID that references the template schema.

  • TemplateUniqueID
    Data type: String

    Access type: Read/Write

    Qualifiers: [key, not_null]

    GUID to represent the template. The default value is "".

  • Type
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [Not_null]

    The type of the template. Currently the only possible value is:

    0

    SUM_DEPLOYMENT

Remarks

Class qualifiers for this class include:

  • Secured

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

Use of this class is optional. You can use an SMS_Template object instead of the console if required. In this case, the properties are populated for you, and you need to change only the ones that reflect information that has changed since the last software update deployment.

Note

SMS_Template objects are not replicated to child sites.

Your application can use this class as described in How to Create a Deployment Template.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Concepts

Software Updates Server WMI Classes
Configuration Manager Software Updates
How to Create a Deployment Template