ManagementPackAssemblyWriter.WriteManagementPack Method
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.
Writes the management pack.
WriteManagementPack(ManagementPack) |
Writes the management pack. |
WriteManagementPack(ManagementPack, IDictionary<String,ResourceStream>) |
Writes the management pack. |
Writes the management pack.
public:
override System::String ^ WriteManagementPack(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ mp);
public override string WriteManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack mp);
override this.WriteManagementPack : Microsoft.EnterpriseManagement.Configuration.ManagementPack -> string
Public Overrides Function WriteManagementPack (mp As ManagementPack) As String
Parameters
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 |
Writes the management pack.
public:
override System::String ^ WriteManagementPack(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ mp, System::Collections::Generic::IDictionary<System::String ^, Microsoft::EnterpriseManagement::Common::ResourceStream ^> ^ resources);
public override string WriteManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack mp, System.Collections.Generic.IDictionary<string,Microsoft.EnterpriseManagement.Common.ResourceStream> resources);
override this.WriteManagementPack : Microsoft.EnterpriseManagement.Configuration.ManagementPack * System.Collections.Generic.IDictionary<string, Microsoft.EnterpriseManagement.Common.ResourceStream> -> string
Public Overrides Function WriteManagementPack (mp As ManagementPack, resources As IDictionary(Of String, ResourceStream)) As String
Parameters
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 |