EnterpriseManagementObject.ApplyTemplate Method

Definition

Applies the given template to this instance.

Overloads

ApplyTemplate(ManagementPackObjectTemplate)

Applies the given template to this instance.

ApplyTemplate(ManagementPackObjectTemplate, ObjectTemplateCallback)

Applies the given template to this instance.

ApplyTemplate(ManagementPackObjectTemplate)

Applies the given template to this instance.

public:
 void ApplyTemplate(Microsoft::EnterpriseManagement::Configuration::ManagementPackObjectTemplate ^ template);
public void ApplyTemplate (Microsoft.EnterpriseManagement.Configuration.ManagementPackObjectTemplate template);
member this.ApplyTemplate : Microsoft.EnterpriseManagement.Configuration.ManagementPackObjectTemplate -> unit
Public Sub ApplyTemplate (template As ManagementPackObjectTemplate)

Parameters

template
ManagementPackObjectTemplate

The template to apply.

Applies to

ApplyTemplate(ManagementPackObjectTemplate, ObjectTemplateCallback)

Applies the given template to this instance.

public:
 void ApplyTemplate(Microsoft::EnterpriseManagement::Configuration::ManagementPackObjectTemplate ^ template, Microsoft::EnterpriseManagement::Common::ObjectTemplateCallback ^ callback);
public void ApplyTemplate (Microsoft.EnterpriseManagement.Configuration.ManagementPackObjectTemplate template, Microsoft.EnterpriseManagement.Common.ObjectTemplateCallback callback);
member this.ApplyTemplate : Microsoft.EnterpriseManagement.Configuration.ManagementPackObjectTemplate * Microsoft.EnterpriseManagement.Common.ObjectTemplateCallback -> unit
Public Sub ApplyTemplate (template As ManagementPackObjectTemplate, callback As ObjectTemplateCallback)

Parameters

template
ManagementPackObjectTemplate

The template to apply.

callback
ObjectTemplateCallback

The callback method called when the template is applied.

Exceptions

The callback parameter is a null reference (Nothing in Visual Basic).

Applies to