Share via


ManagementGroup.GetDependentManagementPacks(ManagementPack) Method

Definition

Caution

Please use ManagementPacks.GetDependentManagementPacks()

Returns all the management packs that depend on the given management pack.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::ManagementPack ^> ^ GetDependentManagementPacks(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack);
[System.Obsolete("Please use ManagementPacks.GetDependentManagementPacks()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPack> GetDependentManagementPacks (Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack);
member this.GetDependentManagementPacks : Microsoft.EnterpriseManagement.Configuration.ManagementPack -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPack>
Public Function GetDependentManagementPacks (managementPack As ManagementPack) As ReadOnlyCollection(Of ManagementPack)

Parameters

managementPack
ManagementPack

The management pack.

Returns

The management packs that depend on this management pack.

Attributes

Examples

For an example of the GetDependentManagementPacksmethod, see How to Display Management Pack Contents

Applies to