SMS_Template Server WMI Class

 

Updated: November 1, 2013

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

The SMS_Template Windows Management Instrumentation (WMI) class is an SMS Provider server class, in System Center 2012 R2 Configuration Manager, that represents a deployment template available on the site that you can use instead of the System Center 2012 R2 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;
      DateTime LastModifiedDate;
      String Name;
      String SchemaGUID;
      String TemplateUniqueID;
      UInt32 Type;
};

The SMS_Template class does not define any methods.

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.

LastModifiedDate

Data type: DateTime

Access type: Read-only

Qualifiers: read, not_null

The last modified date of 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

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.

System_CAPS_noteNote

SMS_Template objects are not replicated to child sites.

Show: