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

Visual Basic
Dim instance As EnumerateResourcesActivity
Dim value As String

value = instance.XPathFilter

instance.XPathFilter = value

Syntax

Visual Basic
Public Property XPathFilter As String
C#
public string XPathFilter { get; set; }
C++
public:
property String^ XPathFilter {
		String^ get ();
		void set (String^ value);
}
J#
/** @property */
public String get_XPathFilter ()

/** @property */
public void set_XPathFilter (String value)
JScript
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’.

C#  Copy Code
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

Target Platforms

Windows 2008 x64 Edition

Change History

See Also