ManagementPackFileStore Class

Definition

Represents a set of file system directories where management packs are stored. This class is used as a parameter to the ManagementPack class constructor to specify directories to load management pack references from.

public ref class ManagementPackFileStore : Microsoft::EnterpriseManagement::ManagementPackStore, System::Collections::Generic::IEnumerable<Microsoft::EnterpriseManagement::IManagementPackStore ^>
public class ManagementPackFileStore : Microsoft.EnterpriseManagement.ManagementPackStore, System.Collections.Generic.IEnumerable<Microsoft.EnterpriseManagement.IManagementPackStore>
type ManagementPackFileStore = class
    inherit ManagementPackStore
    interface seq<IManagementPackStore>
    interface IEnumerable
Public Class ManagementPackFileStore
Inherits ManagementPackStore
Implements IEnumerable(Of IManagementPackStore)
Inheritance
ManagementPackFileStore
Implements

Constructors

ManagementPackFileStore()

Initializes a new ManagementPackFileStore object by using only the current working directory of the application as the include directory (the directory to include management pack references from).

ManagementPackFileStore(String[])

Initializes a new ManagementPackFileStore object by specifying the include directories (the directories to include management pack references from). The current working directory is automatically added to this list at a higher priority than the other directories specified.

Fields

AssemblyExtension

A string constant used to define the management pack assembly file type extension (.mp).

XmlExtension

A string constant used to define the management pack XML file type extension (.xml).

Properties

Directories

The list of directories currently in the search path.

Extensions

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the access to extensions.

(Inherited from ManagementPackStore)
Features

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns the features associated with this container instance.

(Inherited from Container)
LifetimeManagers

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the lifetime managers of this container instance.

(Inherited from Container)
Registry

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the extension registry.

(Inherited from ManagementPackStore)

Methods

AddDirectory(DirectoryInfo)

Adds a directory to the list of include directories (the list of directories to search when management pack references are loaded).

AddDirectory(String)

Adds a directory to the list of include directories (the list of directories to search when management pack references are loaded).

AddService<T,V>(String, ActivationContext<V>)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds a new service to the container.

(Inherited from Container)
AddService<T,V>(String, V)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds a new service to the container by instantiating the type T. The default lifetime will be singleton.

(Inherited from Container)
Configure(Stream)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes the container from the stream.

(Inherited from Container)
Dispose()

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from Container)
Dispose(Boolean)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Releases the unmanaged resources used by the Container class and optionally releases the managed resources.

(Inherited from Container)
GetManagementPack(String, String, Version)

Gets a management pack with the specified identifier, key token, and version from the file system. This method searches the list of include directories specified in the ManagementPackFileStore constructor to load the specified management pack.

GetManagementPackLocalPath(ManagementPack)

Retrieves the management pack local path.

GetManagementPacks()

Retrieves all the management packs in this store.

GetService<T>(String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Searches for and returns the specified service.

(Inherited from Container)
GetServices<T>()

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns all services of the specified type.

(Inherited from Container)
HasService<T>(String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Determines whether the specified container has the named service.

(Inherited from Container)
Initialize(IContainer)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes the current instance when called.

(Inherited from Container)
LookupService(Object)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the name the specified service is filed under.

(Inherited from Container)
RecycleService<T>(String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Recycles the instance of this service.

(Inherited from Container)
RemoveDirectory(DirectoryInfo)

Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded).

RemoveDirectory(String)

Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded).

RemoveService(String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Removes the service with the specified name.

(Inherited from Container)
RemoveServices()

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Removes all services from the container.

(Inherited from Container)

Explicit Interface Implementations

IEnumerable.GetEnumerator()
IEnumerable<IManagementPackStore>.GetEnumerator()
IManagementPackStore.DerivedTypes (Inherited from ManagementPackStore)
IManagementPackStore.EntityTypes (Inherited from ManagementPackStore)
IManagementPackStore.ImageReferences (Inherited from ManagementPackStore)
IManagementPackStore.ManagementPacks (Inherited from ManagementPackStore)
IManagementPackStore.Monitoring (Inherited from ManagementPackStore)
IManagementPackStore.Presentation (Inherited from ManagementPackStore)

Applies to