EnumerateResourcesActivity.Selection Property
An array of String objects that represent a list of attributes to be returned by the activity for each item in the query result.
Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in Microsoft.ResourceManagement.dll)
Usage
'Usage
Dim instance As EnumerateResourcesActivity
Dim value As String()
value = instance.Selection
instance.Selection = value
Syntax
'Declaration
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
Public Property Selection As String()
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
public string[] Selection { get; set; }
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Visible)]
public:
property array<String^>^ Selection {
array<String^>^ get ();
void set (array<String^>^ value);
}
/** @property */
public String[] get_Selection ()
/** @property */
public void set_Selection (String[] value)
public function get Selection () : String[]
public function set Selection (value : String[])
Property Value
An array of String objects.
Example
The following example sets the EnumerateResourcesActivity activity to return “DisplayName”
and “JobTitle”
for each item that is returned in the query results.
this.enumerateResourcesActivity1.Selection = new string[] { "DisplayName", "JobTitle" };
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
EnumerateResourcesActivity Class
EnumerateResourcesActivity Members
Microsoft.ResourceManagement.Workflow.Activities Namespace
EnumerateResourcesActivity