An activity that creates a new instance of 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 CreateResourceActivity

Syntax

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

Remarks

The work of this activity occurs in the overloaded Execute method. There is no need for additional child activities or additional Windows Workflow Foundation (WF) execution bookmarks.

Sample usage:

  1. Set the ActorId property of the activity.

  2. Set the CreateParameters property to capture the attributes to set. You must always set the ObjectType attribute when you create a new resource.


Inheritance Hierarchy

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

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