Compartilhar via


ObjectQueryOptions.AddPropertyToRetrieve Method (ManagementPackProperty)

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

Adds the property to the query options using the properties type as the class to which to add the property.

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

Usage

'Usage
Dim instance As ObjectQueryOptions
Dim property As ManagementPackProperty

instance.AddPropertyToRetrieve(property)

Syntax

'Declaration
Public Sub AddPropertyToRetrieve ( _
    property As ManagementPackProperty _
)
public void AddPropertyToRetrieve (
    ManagementPackProperty property
)
public:
void AddPropertyToRetrieve (
    ManagementPackProperty^ property
)
public void AddPropertyToRetrieve (
    ManagementPackProperty property
)
public function AddPropertyToRetrieve (
    property : ManagementPackProperty
)

Parameters

  • property
    The property.

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

ObjectQueryOptions Class
ObjectQueryOptions Members
Microsoft.EnterpriseManagement.Common Namespace