Поделиться через


ManagementGroup.BeginImportManagementPack Method (ManagementPack, AsyncCallback, Object)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Asynchronously imports a management pack.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use ManagementPacks.BeginImportManagementPack()")]
public IAsyncResult BeginImportManagementPack(
    ManagementPack managementPack,
    AsyncCallback callback,
    object state
)
public:
[ObsoleteAttribute("Please use ManagementPacks.BeginImportManagementPack()")]
IAsyncResult^ BeginImportManagementPack(
    ManagementPack^ managementPack,
    AsyncCallback^ callback,
    Object^ state
)
[<ObsoleteAttribute("Please use ManagementPacks.BeginImportManagementPack()")>]
member BeginImportManagementPack : 
        managementPack:ManagementPack *
        callback:AsyncCallback *
        state:Object -> IAsyncResult
<ObsoleteAttribute("Please use ManagementPacks.BeginImportManagementPack()")>
Public Function BeginImportManagementPack (
    managementPack As ManagementPack,
    callback As AsyncCallback,
    state As Object
) As IAsyncResult

Parameters

  • callback
    Type: System.AsyncCallback

    The callback method that gets called when the management pack is imported.

  • state
    Type: System.Object

    The optional state to pass back to the callback method.

Return Value

Type: System.IAsyncResult

Returns anIAsyncResultobject.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top