EnumerateResourcesActivity.XPathFilter Property

Stores the FIM XPath filter that is used to identify the resources that are included in the enumeration.

Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in Microsoft.ResourceManagement.dll)

Usage

'Usage
Dim instance As EnumerateResourcesActivity
Dim value As String

value = instance.XPathFilter

instance.XPathFilter = value

Syntax

'Declaration
Public Property XPathFilter As String
public string XPathFilter { get; set; }
public:
property String^ XPathFilter {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_XPathFilter ()

/** @property */
public void set_XPathFilter (String value)
public function get XPathFilter () : String

public function set XPathFilter (value : String)

Property Value

A String that represents a FIM XPath query filter. For more information, see XPath Filter Language.

Example

The following example sets the XPathFilter property to return all Person objects that have the EmployeeType attribute set to ‘Full Time Employee’.

this.enumerateResourcesActivity1.XPathFilter = "/Person[EmployeeType = 'Full Time Employee']";

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

Change History

See Also

Reference

EnumerateResourcesActivity Class
EnumerateResourcesActivity Members
Microsoft.ResourceManagement.Workflow.Activities Namespace
EnumerateResourcesActivity

Other Resources

XPath Filter Language Examples
XPath Filter Language Examples