Compartilhar via


ManagementPackClass.Item Property (String, PropertyExtensionMode)

Gets the management pack with the specified name.

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

Usage

'Usage
Dim instance As ManagementPackClass
Dim name As String
Dim propertyExtensionMode As PropertyExtensionMode
Dim value As ManagementPackProperty

value = instance(name, propertyExtensionMode)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String, _
    propertyExtensionMode As PropertyExtensionMode _
) As ManagementPackProperty
public ManagementPackProperty this [
    string name,
    PropertyExtensionMode propertyExtensionMode
] { get; }
public:
property ManagementPackProperty^ default [String^, PropertyExtensionMode] {
    ManagementPackProperty^ get (String^ name, PropertyExtensionMode propertyExtensionMode);
}
/** @property */
public ManagementPackProperty get_Item (String name, PropertyExtensionMode propertyExtensionMode)

Parameters

  • name
    The management pack name.
  • propertyExtensionMode
    The mode of using extended properties.

Property Value

The management pack.

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackClass Class
ManagementPackClass Members
Microsoft.EnterpriseManagement.Configuration Namespace