Partager via


AccessRightsQueryOptions.AddProperty Method

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

Adds the properties for which to retrieve access rights. This method is used only when partial property access rights are needed.

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

Usage

'Usage
Dim instance As AccessRightsQueryOptions
Dim managementPackClass As ManagementPackClass
Dim properties As IEnumerable(Of ManagementPackProperty)

instance.AddProperty(managementPackClass, properties)

Syntax

'Declaration
Public Sub AddProperty ( _
    managementPackClass As ManagementPackClass, _
    properties As IEnumerable(Of ManagementPackProperty) _
)
public void AddProperty (
    ManagementPackClass managementPackClass,
    IEnumerable<ManagementPackProperty> properties
)
public:
void AddProperty (
    ManagementPackClass^ managementPackClass, 
    IEnumerable<ManagementPackProperty^>^ properties
)
public void AddProperty (
    ManagementPackClass managementPackClass, 
    IEnumerable<ManagementPackProperty> properties
)
public function AddProperty (
    managementPackClass : ManagementPackClass, 
    properties : IEnumerable<ManagementPackProperty>
)

Parameters

  • managementPackClass
    The management pack class.
  • properties
    The management pack property that belongs to the class.

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

AccessRightsQueryOptions Class
AccessRightsQueryOptions Members
Microsoft.EnterpriseManagement.Common Namespace