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
Visual Basic |
Dim instance As EnumerateResourcesActivity
Dim value As String()
value = instance.Selection
instance.Selection = value
|
Syntax
Visual Basic |
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
Public Property Selection As String()
|
C# |
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
public string[] Selection { get; set; }
|
C++ |
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Visible)]
public:
property array<String^>^ Selection {
array<String^>^ get ();
void set (array<String^>^ value);
}
|
J# |
/** @property */
public String[] get_Selection ()
/** @property */
public void set_Selection (String[] value)
|
JScript |
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.
C# |
Copy Code |
this.enumerateResourcesActivity1.Selection = new string[] { "DisplayName", "JobTitle" };
|
Remarks
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
Target Platforms
Windows 2008 x64 Edition
Change
History
See Also