ObjectQueryOptions.AddPropertyToRetrieve Method (ManagementPackClass, ManagementPackProperty)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Adds the specified property to the query options for the given class.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As ObjectQueryOptions
Dim managementPackClass As ManagementPackClass
Dim property As ManagementPackProperty
instance.AddPropertyToRetrieve(managementPackClass, property)
Syntax
'Declaration
Public Sub AddPropertyToRetrieve ( _
managementPackClass As ManagementPackClass, _
property As ManagementPackProperty _
)
public void AddPropertyToRetrieve (
ManagementPackClass managementPackClass,
ManagementPackProperty property
)
public:
void AddPropertyToRetrieve (
ManagementPackClass^ managementPackClass,
ManagementPackProperty^ property
)
public void AddPropertyToRetrieve (
ManagementPackClass managementPackClass,
ManagementPackProperty property
)
public function AddPropertyToRetrieve (
managementPackClass : ManagementPackClass,
property : ManagementPackProperty
)
Parameters
- managementPackClass
The management pack class.
- 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