ManagementGroup.GetManagementPacks 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.
Retrieves the collection of management packs.
Overloads
GetManagementPacks(String) |
Obsolete.
Gets the management packs with the given user id. |
GetManagementPacks(ICollection<Guid>) |
Obsolete.
Retrieves the module types in this management group. |
GetManagementPacks(ManagementPackCriteria) |
Obsolete.
Gets management packs based on criteria. |
GetManagementPacks() |
Obsolete.
Gets all the management packs on this management group. |
GetManagementPacks(String)
Caution
Please use ManagementPacks.GetManagementPacks()
Gets the management packs with the given user id.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::ManagementPack ^> ^ GetManagementPacks(System::String ^ id);
[System.Obsolete("Please use ManagementPacks.GetManagementPacks()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPack> GetManagementPacks (string id);
member this.GetManagementPacks : string -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPack>
Public Function GetManagementPacks (id As String) As ReadOnlyCollection(Of ManagementPack)
Parameters
- id
- String
The id of the management pack.
Returns
The ManagementPack collection with given name.
- Attributes
Exceptions
id is null
id.Length is zero.
The requested object was not found.
Applies to
GetManagementPacks(ICollection<Guid>)
Caution
Please use ManagementPacks.GetManagementPacks()
Retrieves the module types in this management group.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::ManagementPack ^> ^ GetManagementPacks(System::Collections::Generic::ICollection<Guid> ^ ids);
[System.Obsolete("Please use ManagementPacks.GetManagementPacks()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPack> GetManagementPacks (System.Collections.Generic.ICollection<Guid> ids);
member this.GetManagementPacks : System.Collections.Generic.ICollection<Guid> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPack>
Public Function GetManagementPacks (ids As ICollection(Of Guid)) As ReadOnlyCollection(Of ManagementPack)
Parameters
- ids
- ICollection<Guid>
The ids of the types.
Returns
The types.
- Attributes
Applies to
GetManagementPacks(ManagementPackCriteria)
Caution
Please use ManagementPacks.GetManagementPacks()
Gets management packs based on criteria.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::ManagementPack ^> ^ GetManagementPacks(Microsoft::EnterpriseManagement::Configuration::ManagementPackCriteria ^ criteria);
[System.Obsolete("Please use ManagementPacks.GetManagementPacks()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPack> GetManagementPacks (Microsoft.EnterpriseManagement.Configuration.ManagementPackCriteria criteria);
member this.GetManagementPacks : Microsoft.EnterpriseManagement.Configuration.ManagementPackCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPack>
Public Function GetManagementPacks (criteria As ManagementPackCriteria) As ReadOnlyCollection(Of ManagementPack)
Parameters
- criteria
- ManagementPackCriteria
The criteria.
Returns
A collection of management packs that match the criteria.
- Attributes
Examples
For an example of theGetManagementPacksHow to Display Management Pack Contents.
Remarks
This method does not return management packs from the local in-memory cache.
Applies to
GetManagementPacks()
Caution
Please use ManagementPacks.GetManagementPacks()
Gets all the management packs on this management group.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::ManagementPack ^> ^ GetManagementPacks();
[System.Obsolete("Please use ManagementPacks.GetManagementPacks()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPack> GetManagementPacks ();
member this.GetManagementPacks : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.ManagementPack>
Public Function GetManagementPacks () As ReadOnlyCollection(Of ManagementPack)
Returns
A collection of ManagementPack objects.
- Attributes