共用方式為


CustomComponentViewHandlerAttribute Class

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 (in microsoft.sqlserver.dts.design.dll)

語法

'宣告
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple:=False)> _
Public NotInheritable Class CustomComponentViewHandlerAttribute
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false)] 
public sealed class CustomComponentViewHandlerAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple=false)] 
public ref class CustomComponentViewHandlerAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false) */ 
public final class CustomComponentViewHandlerAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false) 
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.

Inheritance Hierarchy

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

範例

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

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

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

CustomComponentViewHandlerAttribute Members
Microsoft.SqlServer.Dts.Pipeline.Design Namespace