次の方法で共有


ManagementPackXmlWriter.WriteManagementPack Method

Writes the Management Pack XML using an XmlWriter stream. The Management Pack XML is written to a file.

Namespace: Microsoft.EnterpriseManagement.Configuration.IO
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPackXmlWriter
Dim mp As ManagementPack
Dim returnValue As String

returnValue = instance.WriteManagementPack(mp)

Syntax

'Declaration
Public Overrides Function WriteManagementPack ( _
    mp As ManagementPack _
) As String
public override string WriteManagementPack (
    ManagementPack mp
)
public:
virtual String^ WriteManagementPack (
    ManagementPack^ mp
) override
public String WriteManagementPack (
    ManagementPack mp
)
public override function WriteManagementPack (
    mp : ManagementPack
) : String

Parameters

Return Value

Returns a string that contains the file name of the Management Pack file.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ManagementPackXmlWriter Class
ManagementPackXmlWriter Members
Microsoft.EnterpriseManagement.Configuration.IO Namespace

Send comments about this topic to Microsoft.