ManagementPackAssemblyWriter.WriteManagementPack Method

Definition

Writes the management pack.

Overloads

WriteManagementPack(ManagementPack)

Writes the management pack.

C#
public override string WriteManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack mp);

Parameters

mp
ManagementPack

The management pack to create a DLL file for.

Returns

Returns String.

Returns a string value that contains the identifier for the management pack that was written to the DLL file.

Remarks

Creates a sealed management pack DLL file. The settings for the DLL file, such as the path to write the file, are defined in the ManagementPackAssemblyWriter constructor by passing a ManagementPackAssemblyWriterSettings object into the settings parameter of the constructor.

Applies to

System Center SM SDK 2016 y System Center SM SDK 2012
Producto Versiones
System Center SM SDK 2012, 2016

WriteManagementPack(ManagementPack, IDictionary<String,ResourceStream>)

Writes the management pack.

C#
public override string WriteManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack mp, System.Collections.Generic.IDictionary<string,Microsoft.EnterpriseManagement.Common.ResourceStream> resources);

Parameters

mp
ManagementPack

The management pack to create a DLL file for.

resources
IDictionary<String,ResourceStream>

The resources.

Returns

Returns String.

A string value that contains the identifier for the management pack that was written to the DLL file.

Applies to

System Center SM SDK 2016 y System Center SM SDK 2012
Producto Versiones
System Center SM SDK 2012, 2016