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: StringAccess type: Read/WriteQualifiers: [lazy, large]Extended data for the template, in XML format.
Description


Data type: StringAccess type: Read/WriteQualifiers: NoneA comment describing the template.
Name


Data type: StringAccess type: Read/WriteQualifiers: [not_null]User-friendly display name for the template.
SchemaGUID


Data type: StringAccess type: Read/WriteQualifiers: [optional]GUID that references the template schema.
TemplateUniqueID


Data type: StringAccess type: Read/WriteQualifiers: [key, not_null]GUID to represent the template. The default value is "".
Type


Data type: UInt32Access type: Read/WriteQualifiers: [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

Development Requirements

See Also


Send comments about this topic to Microsoft.