Share via


DeleteResourceActivity Class

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

'Usage
Dim instance As DeleteResourceActivity

Syntax

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

Development Platforms

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

Target Platforms

See Also

Reference

DeleteResourceActivity Members
Microsoft.ResourceManagement.Workflow.Activities Namespace
Microsoft.ResourceManagement.Workflow.Activities

Other Resources

Custom Activities and Workflows