ManagementPack Class
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.
Represents a management pack.
public ref class ManagementPack : Microsoft::EnterpriseManagement::ManagementPackStore, IDisposable
[System.Serializable]
public class ManagementPack : Microsoft.EnterpriseManagement.ManagementPackStore, IDisposable
type ManagementPack = class
inherit ManagementPackStore
interface IDisposable
Public Class ManagementPack
Inherits ManagementPackStore
Implements IDisposable
- Inheritance
- Attributes
- Implements
Constructors
ManagementPack(String) |
Initializes a new instance of the ManagementPack class from the specified file path. |
ManagementPack(String, IManagementPackStore) |
Initializes a new instance of the ManagementPack class by loading the ManagementPack object from the specified file path. |
ManagementPack(String, String, Version, IManagementPackStore) |
Initializes a new instance of the ManagementPack class in memory. |
ManagementPack(String, String[]) |
Initializes a new instance of the ManagementPack class given the specified file path and directory list. |
ManagementPack(TextReader, IManagementPackStore) |
Initializes a new instance of the ManagementPack class by reading the contents of a management pack from a string by using a |
Properties
ActiveLanguageCode |
Gets or sets the active language code. |
ContentReadable |
Gets a value indicating whether the content inside the management pack is readable. |
DefaultLanguageCode |
Gets or sets the default language pack to use for this management pack. |
Description |
Gets or sets the display description of this management pack in the default language code specified for this management group. |
DisplayName |
Gets or sets the name displayed in the user interface of this management pack in the default language code specified for this management group. |
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) |
FriendlyName |
Gets or sets the name as specified by the author. |
Id |
Gets the GUID for this management pack. |
Identifier |
Gets the extension identifier of the management pack. |
KeyToken |
Gets the key token that was used to seal the management pack. |
LastModified |
Gets the date when the management pack was last modified. |
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) |
LockObject |
Gets an object that is used to synchronize updates to the management pack from multiple threads. |
Name |
Gets the short name that is used by the system for the management pack. |
OriginalSchemaVersion |
Gets or sets the original schema version. |
References |
Gets the reference dictionary as defined in the manifest section for a management pack. |
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) |
SchemaVersion |
Gets the schema version. |
Sealed |
Gets a value indicating whether the management pack is editable. |
Store |
Gets the management pack store which is used by the management pack system to resolve references made by the current management pack. |
TimeCreated |
Gets the date and time when the management pack was created. |
Version |
Gets or sets the version string for the management pack. |
VersionId |
Gets the GUID representing the version identifier for the management pack. |
Methods
AcceptChanges() |
Commits any unsaved changes that were made to the management pack after it was loaded or after the last time the AcceptChanges() method was called. |
AcceptChanges(ManagementPackVerificationTypes) |
Commits any unsaved changes that were made to the management pack after it was loaded or after the last time this method was called by using verification types. |
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 |
CheckVersionCompatibility(ManagementPack) |
Checks the version compatibility of the current management pack with the specified element. |
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) |
DeleteEnterpriseManagementObjectGroup(EnterpriseManagementObject) |
Deletes the group from the current management pack. |
DeleteMonitoringObjectGroup(EnterpriseManagementObject) |
Obsolete.
This method is now obsolete. Please use DeleteEnterpriseManagementObjectGroup(EnterpriseManagementObject) instead. |
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) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Equals(Object) |
Compares this management pack with the specified management pack using their Id properties. |
FindManagementPackElementByName(String) |
Finds and returns the specified management pack element if the element is in the management pack. |
GetBehaviorImplementation(String) |
Retrieves the specified behavior implementation from the management pack. |
GetBehaviorImplementations() |
Retrieves a collection of all management pack behavior implementation objects defined in the current management pack. |
GetBehaviorType(String) |
Retrieves the specified behavior type from the management pack. |
GetBehaviorTypes() |
Retrieves a collection of all management pack behavior type objects defined in the current management pack. |
GetCategories() |
Retrieves a collection of ManagementPackCategory objects defined in this ManagementPack object. |
GetCategory(String) |
Retrieves a single category by using a name. |
GetClass(String) |
Retrieves the specified class from the management pack. |
GetClasses() |
Retrieves all classes in the management pack. |
GetComponentBehavior(String) |
Retrieves the specified component behavior from the management pack. |
GetComponentBehaviors() |
Retrieves a collection of all management pack component behavior objects defined in the current management pack. |
GetComponentImplementation(String) |
Retrieves the specified component implementation from the management pack. |
GetComponentImplementations() |
Retrieves a collection of all management pack component implementation objects defined in the current management pack. |
GetComponentOverride(String) |
Retrieves the specified component override from the management pack. |
GetComponentOverrides() |
Retrieves a collection of all management pack component override objects defined in the current management pack. |
GetComponentReference(String) |
Retrieves the specified component reference from the management pack. |
GetComponentReferences() |
Retrieves a collection of all management pack component reference objects defined in the current management pack. |
GetComponentType(String) |
Retrieves the specified component type from the management pack. |
GetComponentTypes() |
Retrieves a collection of all management pack component type objects defined in the current management pack. |
GetConfigurationGroup(String) |
Retrieves the configuration group by name. |
GetConfigurationGroups() |
Retrieves a collection of ManagementPackConfigurationGroup objects defined in this management pack. |
GetConsoleTask(String) |
Retrieves the specified console task from the management pack. |
GetConsoleTasks() |
Retrieves all console tasks that are contained in the management pack. |
GetDataType(String) |
Retrieves the specified data type from the management pack. |
GetDataTypes() |
Retrieves all data types defined in the management pack. |
GetDataWarehouseDataset(String) |
Retrieves the specified data set from the data warehouse section in the management pack. |
GetDataWarehouseDataSets() |
Retrieves all the data sets from the data warehouse section in the management pack. |
GetDataWarehouseScript(String) |
Retrieves the specified data warehouse script from the management pack. |
GetDataWarehouseScripts() |
Retrieves all the data warehouse scripts from the data warehouse section in the management pack. |
GetDiagnostic(String) |
Retrieves the specified diagnostic from the management pack. |
GetDiagnostics() |
Retrieves a collection of all |
GetDimensionType(String) |
Retrieves a dimension type by using a name. |
GetDimensionTypes() |
Retrieves a collection of ManagementPackDimensionType objects defined in this management pack. |
GetDiscoveries() |
Retrieves a collection of all |
GetDiscovery(String) |
Retrieves the specified ManagementPackDiscovery object from the management pack. |
GetDisplayString(CultureInfo) |
Retrieves a localized display string for the management pack using the language of the display string. |
GetDisplayString(String) |
Retrieves the display string for the management pack using the language code. |
GetElementId(String) |
Gets the ID of an element by name. |
GetEnumeration(String) |
Retrieves a single enumeration value from a management pack by name. |
GetEnumerations() |
Retrieves a collection of all management pack enumerations defined on all management packs in the current management pack group. |
GetFactType(String) |
Retrieves a fact type by using a name. |
GetFactTypes() |
Retrieves a collection of ManagementPackFactType objects defined in this management pack. |
GetFolder(String) |
Retrieves the specified folder from the management pack. |
GetFolderItems() |
Retrieves all folder items in the management pack. |
GetFolders() |
Retrieves all folders that are contained in the management pack. |
GetForm(String) |
Retrieves a form by using a name. |
GetForms() |
Retrieves a collection of ManagementPackForm objects defined in this management pack. |
GetHashCode() |
Calculates the hash code of the management pack's Id property. |
GetId(String, String) |
Gets a management pack ID by using the name and the optional public key token. |
GetImage(String) |
Retrieves the specified image from the management pack. |
GetImageReferences() |
Retrieves all |
GetImages() |
Obsolete.
Retrieves all images that are contained in the management pack. |
GetKnowledgeArticle(CultureInfo) |
Retrieves the specified knowledge article from the management pack using the specified locale for the article. |
GetKnowledgeArticle(String) |
Retrieves the knowledge article for the management pack using the language code. |
GetLanguagePack(CultureInfo) |
Retrieves the specified language pack from the management pack using the culture of the language pack. |
GetLanguagePack(String) |
Retrieves the specified language pack from the management pack using an ISO 639-2 three-letter code. |
GetLanguagePacks() |
Retrieves all language packs that are contained in the management pack. |
GetLinkedReport(String) |
Retrieves the specified linked report that is defined in this management pack. |
GetLinkedReports() |
Gets all the linked report objects that are defined in this management pack. |
GetManagementPack(String, String, Version) |
Retrieves a management pack from the store |
GetManagementPackCategories() |
Retrieves all |
GetMeasureType(String) |
Retrieves a measure type by using a name. |
GetMeasureTypes() |
Retrieves a collection of ManagementPackMeasureType objects defined in this management pack. |
GetModuleType(String) |
Retrieves the specified module type from the management pack. |
GetModuleTypes() |
Retrieves all module types that are contained in the management pack. |
GetMonitor(String) |
Retrieves the specified monitor from the management pack. |
GetMonitors() |
Retrieves all monitors that are contained in the management pack. |
GetObjectTemplate(String) |
Retrieves an object template by using a name. |
GetObjectTemplates() |
Retrieves a collection of ManagementPackObjectTemplate objects defined in this management pack. |
GetOutriggerType(String) |
Retrieves an outrigger type by using a name. |
GetOutriggerTypes() |
Retrieves a collection of ManagementPackOutriggerType objects defined in this management pack. |
GetOverride(String) |
Retrieves the specified override from the management pack. |
GetOverrides() |
Retrieves all overrides that are contained in the management pack. |
GetRecoveries() |
Retrieves all ManagementPackRecovery objects that are contained in the management pack. |
GetRecovery(String) |
Retrieves the specified ManagementPackRecovery object from the management pack. |
GetRelationship(String) |
Retrieves the specified relationship from the management pack. |
GetRelationshipFactType(String) |
Retrieves a relationship fact type by using a name. |
GetRelationshipFactTypes() |
Retrieves a collection of ManagementPackRelationshipFactType objects defined in this management pack. |
GetRelationships() |
Retrieves all relationships that are contained in the management pack. |
GetReport(String) |
Retrieves the specified report from the management pack. |
GetReportParameterControl(String) |
Retrieves the specified ManagementPackReportParameterControl objects that are contained in the management pack. |
GetReportParameterControls() |
Retrieves all ManagementPackReportParameterControl objects that are contained in the management pack. |
GetReportResource(String) |
Obsolete.
Gets the specified report resource object in the management pack. |
GetReportResources() |
Obsolete.
Gets all the report resource objects defined in the management pack. |
GetReports() |
Retrieves all reports that are contained in the management pack. |
GetResource<T>(String) |
Retrieves a specified management pack resource from a management pack. |
GetResources<T>() |
Retrieves a collection of ManagementPackResource objects defined in this management pack. |
GetRule(String) |
Retrieves the specified rule from the management pack. |
GetRules() |
Retrieves all rules that are contained in the management pack. |
GetSchemaType(String) |
Retrieves the specified schema type from the management pack. |
GetSchemaTypes() |
Retrieves all schema types in the management pack. |
GetSecureReference(String) |
Retrieves the specified ManagementPackSecureReference object. |
GetSecureReferences() |
Retrieves all secure references for this management pack. |
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) |
GetServiceLevelObjective<T>(String) |
Retrieves the service level objective by name. |
GetServiceLevelObjectives<T>() |
Retrieves a collection of ManagementPackSLO objects defined in this management pack. |
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) |
GetStringResource(String) |
Gets the specified string resource defined in the management pack. |
GetStringResources() |
Gets all the string resources defined in the management pack. |
GetSubElementId(String, String) |
Retrieves the sub-element ID. |
GetTask(String) |
Retrieves the specified task from the management pack. |
GetTasks() |
Retrieves all tasks that are contained in the management pack. |
GetTemplate(String) |
Retrieves the specified template from the management pack. |
GetTemplates() |
Retrieves all templates that are contained in the management pack. |
GetTypeProjection(String) |
Retrieves a single type projection object by name from the specified management pack. |
GetTypeProjections() |
Retrieves all type projections that are defined in this management pack. |
GetUIPage(String) |
Retrieves the specified property or wizard page from the management pack. |
GetUIPages() |
Retrieves all property or wizard pages that are contained in the management pack. |
GetUIPageSet(String) |
Retrieves the specified page set from the management pack. |
GetUIPageSets() |
Retrieves all page sets that are contained in the management pack. |
GetUnitMonitorType(String) |
Retrieves the specified unit monitor type from the management pack. |
GetUnitMonitorTypes() |
Retrieves all unit monitor types that are contained in the management pack. |
GetView(String) |
Retrieves the specified view from the management pack. |
GetViews() |
Retrieves all views that are contained in the management pack. |
GetViewType(String) |
Retrieves the specified view type from the management pack. |
GetViewTypes() |
Retrieves all view types from the management pack. |
GetWarehouseModuleType(String) |
Retrieves a warehouse module type by using a name. |
GetWarehouseModuleTypes() |
Retrieves a collection of ManagementPackWarehouseModuleType objects defined in this management pack. |
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) |
InsertCustomEnterpriseManagementObjectGroup(CreatableObjectGroup) |
Inserts the specified group into this management pack. |
InsertCustomEnterpriseManagementObjectGroup(CreatableObjectGroup, ManagementPackReferenceCollection) |
Inserts the specified group into this management pack using references defined in the group’s formula. |
InsertCustomMonitoringObjectGroup(CreatableObjectGroup) |
Obsolete.
This method is now obsolete. Please use InsertCustomEnterpriseManagementObjectGroup(CreatableObjectGroup) instead. |
InsertCustomMonitoringObjectGroup(CreatableObjectGroup, ManagementPackReferenceCollection) |
Obsolete.
This method is now obsolete. Please use InsertCustomEnterpriseManagementObjectGroup(CreatableObjectGroup, ManagementPackReferenceCollection) instead. |
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) |
ProcessElementReference(String) |
Obsolete.
This method is now obsolete. Please use |
ProcessElementReference<T>(String) |
Processes a reference found in this management pack to a ManagementPackElement object. |
ProcessElementReferences(String) |
Obsolete.
Processes a reference string that references multiple elements found in the management pack into a management pack element. |
ProcessElementReferences<T>(String) |
Processes element references found in this management pack in a particular workflow module. |
ProcessElementReferencesIncludeTokens<T>(String) |
Scans the management pack and finds all of the $MPElement[…]$ tokens. It then parses the tokens and creates ManagementPackElementReference<T><ManagementPackElement> objects (element references) that are returned. |
ProcessMonitoringTemplate(ManagementPackTemplate, String) |
Obsolete.
This method is now obsolete. Please use ProcessTemplate(ManagementPackTemplate, String) instead. |
ProcessMonitoringTemplate(ManagementPackTemplate, String, ManagementPackReferenceCollection) |
Obsolete.
This method is now obsolete. Please use ProcessTemplate(ManagementPackTemplate, String, ManagementPackReferenceCollection) instead. |
ProcessMonitoringTemplate(ManagementPackTemplate, String, ManagementPackReferenceCollection, String, String, String) |
Obsolete.
This method is now obsolete. Please use ProcessTemplate(ManagementPackTemplate, String, ManagementPackReferenceCollection, String, String, String) instead. |
ProcessMonitoringTemplate(ManagementPackTemplate, String, String, String, String) |
Obsolete.
This method is now obsolete. Please use ProcessTemplate(ManagementPackTemplate, String, String, String, String) instead. |
ProcessSubElementPropertyReference(String) |
Processes a reference found in this management pack into a ManagementPackSubElement object. |
ProcessSubElementPropertyReferences(String) |
Processes element references in this management pack. |
ProcessTargetReference(String, ManagementPackElementReference<ManagementPackClass>) |
Obsolete.
Processes the specified reference and target in the management pack into a management pack class property. |
ProcessTargetReferences(String, ManagementPackElementReference<ManagementPackClass>) |
Obsolete.
Processes the specified references and target in the management pack into a list of management pack class properties. |
ProcessTemplate(ManagementPackTemplate, String) |
Processes the provided template with the given configuration and inserts the results into this management pack. |
ProcessTemplate(ManagementPackTemplate, String, ManagementPackReferenceCollection) |
Processes the provided template with the given configuration and inserts the results into this management pack. |
ProcessTemplate(ManagementPackTemplate, String, ManagementPackReferenceCollection, String, String, String) |
Processes the provided template with the given configuration and inserts the results into this management pack by using the folder information. |
ProcessTemplate(ManagementPackTemplate, String, String, String, String) |
Processes the provided template with the given configuration and inserts the results into this management pack. |
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) |
RejectChanges() |
Rolls back any unsaved changes to the management pack. |
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) |
ToString() |
Retrieves a string that contains the management pack name. |
TryAcceptChanges() |
Commits all the changes made to the current management pack. |
TryAcceptChanges(ManagementPackVerificationTypes) |
Commits all the changes made to the current management pack by using a verification type. |
TryVerify() |
Verifies the current management pack including semantics verification and version compatibility checking. |
Verify() |
Verifies the management pack contents against the management pack schema. |
Explicit Interface Implementations
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) |