An activity that deletes 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 DeleteResourceActivity

Syntax

Visual Basic
Public NotInheritable Class DeleteResourceActivity
		Inherits Activity
C#
public sealed class DeleteResourceActivity : Activity
C++
public ref class DeleteResourceActivity sealed : public Activity
J#
public final class DeleteResourceActivity extends Activity
JScript
public final class DeleteResourceActivity 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 ResourceId property to specify which resource to delete.


Inheritance Hierarchy

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

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