IManagementPackManagement Interface

Definition

Allows you to access and manage management packs on the Service Manager server.

public interface class IManagementPackManagement
public interface IManagementPackManagement
type IManagementPackManagement = interface
Public Interface IManagementPackManagement

Methods

BeginImportBundle(ManagementPackBundle, AsyncCallback, Object)

Asynchronously starts to import a single management pack bundle.

BeginImportBundle(ManagementPackBundle, ImportPackagedManagementPackCallback, AsyncCallback, Object)

Asynchronously starts to import a single management pack bundle. If the handler callback returns true, the pack will be imported.

BeginImportManagementPack(ManagementPack, AsyncCallback, Object)

Asynchronously starts to import a single management pack without resource data streams.

BeginImportManagementPack(ManagementPack, IDictionary<String,ResourceStream>, AsyncCallback, Object)

Asynchronously starts to import a single management pack with resource data streams.

BeginUninstallBundle(ManagementPackBundle, AsyncCallback, Object)

Asynchronously starts to uninstall each management pack in the management pack bundle.

BeginUninstallBundle(ManagementPackBundle, ImportPackagedManagementPackCallback, AsyncCallback, Object)

Asynchronously starts to uninstall each management pack in the management pack bundle. If the handler callback returns true, the pack will be uninstalled.

BeginUninstallManagementPack(ManagementPack, AsyncCallback, Object)

Asynchronously starts to uninstall a single management pack.

EndImportBundle(IAsyncResult)

Ends the asynchronous operation that is importing a management pack bundle.

EndImportManagementPack(IAsyncResult)

Ends the asynchronous operation that is importing a management pack.

EndUninstallBundle(IAsyncResult)

Ends the asynchronous operation that is uninstalling a management pack bundle.

EndUninstallManagementPack(IAsyncResult)

Ends the asynchronous operation that is uninstalling a management pack.

GetBundle(IEnumerable<Guid>)

Creates a ManagementPackBundle object that contains the management packs.

GetBundle(IEnumerable<ManagementPack>)

Creates a ManagementPackBundle object that contains the specified management packs.

GetDependentManagementPacks(ManagementPack)

Gets all the management packs that depend on (reference) the specified management pack.

GetManagementPack(Guid)

Gets a management pack object by unique identifier.

GetManagementPack(String, String, Version)

Searches for a specific management pack object identified by the supplied name, public key token, and version values.

GetManagementPack(SystemManagementPack)

Gets a management pack object for a well-known system management pack.

GetManagementPacks()

Gets a collection of all the management packs that have been imported into the current management group.

GetManagementPacks(ICollection<Guid>)

Gets a collection of all the management packs that have been imported into the current management group based on the specified list of management pack identifiers.

GetManagementPacks(ManagementPackCriteria)

Gets a collection of all the management packs that have been imported into the current management group that matches the specified criteria.

ImportBundle(ManagementPackBundle)

Imports a management pack bundle, which can contain multiple management packs and their resources.

ImportBundle(ManagementPackBundle, ImportPackagedManagementPackCallback)

Imports a management pack bundle. If the handler callback returns true, the pack will be imported.

ImportManagementPack(ManagementPack)

Imports a single management pack into the current management group.

ImportManagementPack(ManagementPack, IDictionary<String,ResourceStream>)

Imports a single management pack and its resources into the current management group.

TryImportBundle(ManagementPackBundle)

Tries to import the specified management pack bundle into the system. All management packs in this bundle get imported.

TryImportBundle(ManagementPackBundle, ImportPackagedManagementPackCallback)

Tries to import the specified management pack bundle into the system. The decision of whether a management pack can be imported or not is made by the specified custom callback. If the callback returns false, then the method does not import the management pack. If the callback returns true, then the method imports the management pack.

TryImportManagementPack(ManagementPack)

Tries to import the specified management pack into the current management group.

TryImportManagementPack(ManagementPack, IDictionary<String,ResourceStream>)

Tries to import the specified management pack into the current management group with resource data streams.

UninstallBundle(ManagementPackBundle)

Uninstalls a management pack bundle, which uninstalls each management pack and its owned resource streams.

UninstallBundle(ManagementPackBundle, ImportPackagedManagementPackCallback)

Uninstalls a management pack bundle, delegating each management pack uninstall to the handler callback. This method uninstalls each management pack in the package and its owned resource streams.

UninstallManagementPack(ManagementPack)

Uninstalls the specified management pack.

Events

OnManagementPackCacheRefresh

Occurs when the management pack is imported, uninstalled, or updated.

Applies to

Thread Safety

This type is thread safe.