IActivityDesigner.AddFilter Method
Add a filter to the Activity.
Namespace: Microsoft.SystemCenter.Orchestrator.Integration
Assembly: Microsoft.SystemCenter.Orchestrator.Integration (in Microsoft.SystemCenter.Orchestrator.Integration.dll)
Usage
'Usage
Dim instance As IActivityDesigner
Dim name As String
Dim returnValue As IActivityFilter
returnValue = instance.AddFilter(name)
Syntax
'Declaration
Function AddFilter ( _
name As String _
) As IActivityFilter
IActivityFilter AddFilter (
string name
)
IActivityFilter^ AddFilter (
String^ name
)
IActivityFilter AddFilter (
String name
)
function AddFilter (
name : String
) : IActivityFilter
Parameters
- name
The name of the new filter.
Return Value
Returns IActivityFilter.
Example
public void Design(IActivityDesigner designer)
{
designer.AddFilter("Importance").WithListBrowser("High", "Medium", "Low");
designer.AddFilter("Incident Date").WithDateTimeBrowser();
designer.AddFilter("Closed").WithBooleanBrowser();
}
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 Vista, Windows Server 2003, and
Target Platforms
Change History
See Also
Reference
IActivityDesigner Interface
IActivityDesigner Members
Microsoft.SystemCenter.Orchestrator.Integration Namespace