共用方式為


ManagementPackImageReference Constructor (ManagementPackElement, ManagementPackElementReference, ManagementPack)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new ManagementPackImageReference object using a management pack element, a reference to the image, and a target management pack.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim element As ManagementPackElement
Dim imageref As ManagementPackElementReference(Of ManagementPackImage)
Dim targetmp As ManagementPack

Dim instance As New ManagementPackImageReference(element, imageref, targetmp)

Syntax

'Declaration
Public Sub New ( _
    element As ManagementPackElement, _
    imageref As ManagementPackElementReference(Of ManagementPackImage), _
    targetmp As ManagementPack _
)
public ManagementPackImageReference (
    ManagementPackElement element,
    ManagementPackElementReference<ManagementPackImage> imageref,
    ManagementPack targetmp
)
public:
ManagementPackImageReference (
    ManagementPackElement^ element, 
    ManagementPackElementReference<ManagementPackImage^>^ imageref, 
    ManagementPack^ targetmp
)
public ManagementPackImageReference (
    ManagementPackElement element, 
    ManagementPackElementReference<ManagementPackImage> imageref, 
    ManagementPack targetmp
)
public function ManagementPackImageReference (
    element : ManagementPackElement, 
    imageref : ManagementPackElementReference<ManagementPackImage>, 
    targetmp : ManagementPack
)

Parameters

  • element
    The management pack element to assign the image to.
  • imageref
    The reference to the image being assigned to an element.
  • targetmp
    The management pack where the image reference should be added.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackImageReference Class
ManagementPackImageReference Members
Microsoft.EnterpriseManagement.Configuration Namespace