Поделиться через


Класс CustomComponentViewHandlerAttribute

Notifies the data flow designer at design time that the user interface of the component will manage the component viewer by itself.

Пространство имен:  Microsoft.SqlServer.Dts.Pipeline.Design
Сборка:  Microsoft.SqlServer.Dts.Design (в Microsoft.SqlServer.Dts.Design.dll)

Синтаксис

'Декларация
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public NotInheritable Class CustomComponentViewHandlerAttribute _
    Inherits Attribute
'Применение
Dim instance As CustomComponentViewHandlerAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public sealed class CustomComponentViewHandlerAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class CustomComponentViewHandlerAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type CustomComponentViewHandlerAttribute =  
    class
        inherit Attribute
    end
public final class CustomComponentViewHandlerAttribute extends Attribute

Замечания

This attribute is typically used by components where design-time modifications have side effects outside the component itself and where the component manages other components in the data flow. For example, the Slowly Changing Dimension Transformation creates an entire sequence of data flow components and may also delete other objects.

Примеры

The following sample shows the CustomComponentViewHandlerAttribute attribute applied to a class.

[CustomComponentViewHandler]
public class MyComponentUI
{
   ...
]
<CustomComponentViewHandler> _
Public Class MyComponentUI
  ...
End Class

Иерархия наследования

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.SqlServer.Dts.Pipeline.Design..::..CustomComponentViewHandlerAttribute

Потоковая защита

Все открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность элементов экземпляров не гарантируется.