Share via


ManagementPack.GetRules Method

Definition

Retrieves all rules that are contained in the management pack.

public:
 Microsoft::EnterpriseManagement::Configuration::ManagementPackElementCollection<Microsoft::EnterpriseManagement::Configuration::ManagementPackRule ^> ^ GetRules();
public Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPackRule> GetRules ();
member this.GetRules : unit -> Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPackRule>
Public Function GetRules () As ManagementPackElementCollection(Of ManagementPackRule)

Returns

A collection of all rules in the management pack.

Applies to