Partager via


ReadResourceActivity.SelectionAttributes Property

An array of String objects that specify which attributes of the target Resource to return.

Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in Microsoft.ResourceManagement.dll)

Usage

'Usage
Dim instance As ReadResourceActivity
Dim value As String()

value = instance.SelectionAttributes

instance.SelectionAttributes = value

Syntax

'Declaration
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
<CategoryAttribute("Parameters")> _
<BrowsableAttribute(True)> _
Public Property SelectionAttributes As String()
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] 
[CategoryAttribute("Parameters")] 
[BrowsableAttribute(true)] 
public string[] SelectionAttributes { get; set; }
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Visible)] 
[CategoryAttribute(L"Parameters")] 
[BrowsableAttribute(true)] 
public:
property array<String^>^ SelectionAttributes {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
/** @property */
public String[] get_SelectionAttributes ()

/** @property */
public void set_SelectionAttributes (String[] value)
public function get SelectionAttributes () : String[]

public function set SelectionAttributes (value : String[])

Property Value

An array of String that specifies which attributes of the target Resource to return.

Example

The following example sets the SelectionAttributes property of the ReadResourceActivity class to an array that contains "Owner" and “Explicit Member” strings, which are attributes of the Group resource.

this.readResourceActivity1.SelectionAttributes = new string[]{ "Owner", "ExplcitMember"};

Remarks

The attributes that are common to all resources (those that are attributes of the base Resource object type in the FIM schema) are always returned.

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 XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

Change History

See Also

Reference

ReadResourceActivity Class
ReadResourceActivity Members
Microsoft.ResourceManagement.Workflow.Activities Namespace
ReadResourceActivity