Export (0) Print
Expand All

IDtsDesignerUtilitiesService Interface

Provides methods that let Integration Services developers invoke the Expression Builder dialog box programmatically.

Namespace:  Microsoft.SqlServer.Dts.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

public interface IDtsDesignerUtilitiesService

The IDtsDesignerUtilitiesService interface provides two methods, EditExpression and EditPropertyExpression, that let you invoke the Expression Builder dialog box programmatically. You might incorporate these methods into a custom user interface for an Integration Services connection manager, foreach enumerator, task, or data flow component.

Use the EditExpression method whenever you want to let the user create or modify an expression. However, to modify a property expression, the EditPropertyExpression method might be more useful. The EditPropertyExpression method determines the return type of the expression from the data type of the property and assigns the expression to the property for you.

The following example shows how to cache a reference to a ServiceProvider whose type is IDtsDesignerUtilitiesService.

IDtsDesignerUtilitiesService designerUtilitiesService;
designerUtilitiesService = (IDtsDesignerUtilitiesService)_serviceProvider.GetService(typeof(IDtsDesignerUtilitiesService));

Community Additions

© 2014 Microsoft