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


Класс CustomComponentViewHandlerAttribute

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

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

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

Пространство имен:  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

Тип CustomComponentViewHandlerAttribute обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод CustomComponentViewHandlerAttribute Initializes a new instance of a CustomComponentViewHandlerAttribute.

В начало

Свойства

  Имя Описание
Открытое свойство TypeId (Производный от Attribute.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Attribute.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Attribute.)
Открытый метод GetType (Производный от Object.)
Открытый метод IsDefaultAttribute (Производный от Attribute.)
Открытый метод Match (Производный от Attribute.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод _Attribute. . :: . .GetIDsOfNames (Производный от Attribute.)
Явная реализация интерфейсаЗакрытый метод _Attribute. . :: . .GetTypeInfo (Производный от Attribute.)
Явная реализация интерфейсаЗакрытый метод _Attribute. . :: . .GetTypeInfoCount (Производный от Attribute.)
Явная реализация интерфейсаЗакрытый метод _Attribute. . :: . .Invoke (Производный от 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

Безопасность многопоточности

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