ReadResourceActivity Class

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

'Usage
Dim instance As ReadResourceActivity

Syntax

'Declaration
Public NotInheritable Class ReadResourceActivity
    Inherits Activity
public sealed class ReadResourceActivity : Activity
public ref class ReadResourceActivity sealed : public Activity
public final class ReadResourceActivity extends Activity
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

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

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

Other Resources

Custom Activities and Workflows