Share via


CustomComponentViewHandlerAttribute Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public NotInheritable Class CustomComponentViewHandlerAttribute _
    Inherits Attribute
'Usage
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

The CustomComponentViewHandlerAttribute type exposes the following members.

Constructors

  Name Description
Public method CustomComponentViewHandlerAttribute Initializes a new instance of a CustomComponentViewHandlerAttribute.

Top

Properties

  Name Description
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

Remarks

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.

Examples

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

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

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.