Share via


ManagementPackReferenceCollection.Item Property

Gets the specified reference from the collection.

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

Usage

'Usage
Dim instance As ManagementPackReferenceCollection
Dim alias As String
Dim value As ManagementPackReference

value = instance(alias)

instance(alias) = value

Syntax

'Declaration
Public Default Property Item ( _
    alias As String _
) As ManagementPackReference
public ManagementPackReference this [
    string alias
] { get; set; }
public:
virtual property ManagementPackReference^ default [String^] {
    ManagementPackReference^ get (String^ alias) sealed;
    void set (String^ alias, ManagementPackReference^ value) sealed;
}
/** @property */
public final ManagementPackReference get_Item (String alias)

/** @property */
public final void set_Item (String alias, ManagementPackReference value)

Parameters

  • alias
    The alias or name of the reference to get.

Property Value

A ManagementPackReference object.

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

ManagementPackReferenceCollection Class
ManagementPackReferenceCollection Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.