ITemplatesManagement.GetTemplates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of templates.
Overloads
GetTemplates() |
Gets all templates on the Service Manager store. |
GetTemplates(ManagementPackTemplateCriteria) |
Gets all templates that match the provided criteria. |
GetTemplates()
Gets all templates on the Service Manager store.
public:
System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackTemplate ^> ^ GetTemplates();
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate> GetTemplates ();
abstract member GetTemplates : unit -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate>
Public Function GetTemplates () As IList(Of ManagementPackTemplate)
Returns
Type: IList<T>
The list of templates.
Applies to
GetTemplates(ManagementPackTemplateCriteria)
Gets all templates that match the provided criteria.
public:
System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackTemplate ^> ^ GetTemplates(Microsoft::EnterpriseManagement::Configuration::ManagementPackTemplateCriteria ^ criteria);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate> GetTemplates (Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplateCriteria criteria);
abstract member GetTemplates : Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplateCriteria -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackTemplate>
Public Function GetTemplates (criteria As ManagementPackTemplateCriteria) As IList(Of ManagementPackTemplate)
Parameters
Returns
Type: IList<T>
The list of templates.