An activity that reads information from a resource (for example, a Person) in the FIM Service database.
Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in microsoft.resourcemanagement.dll)

Usage

Visual Basic
Dim instance As ReadResourceActivity

Syntax

Visual Basic
Public NotInheritable Class ReadResourceActivity
		Inherits Activity
C#
public sealed class ReadResourceActivity : Activity
C++
public ref class ReadResourceActivity sealed : public Activity
J#
public final class ReadResourceActivity extends Activity
JScript
public final class ReadResourceActivity extends Activity

Remarks

Sample usage:

  1. Set the ActorId property of the activity to reference the GUID of a resource in the FIM Service database.

  2. Set the ResourceId property to specify which resource to retrieve from the FIM Service database.

  3. Set the SelectionAttributes property to specify which attributes to retrieve from the target Resource. 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.

  4. Use the Resource property to access the resource that was retrieved.


Inheritance Hierarchy

System.Object
   System.Workflow.ComponentModel.DependencyObject
     System.Workflow.ComponentModel.Activity
      Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity

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

See Also