DtsPipelineComponentAttribute.UITypeName 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置实现组件用户界面的装配的限定名称。
public:
property System::String ^ UITypeName { System::String ^ get(); void set(System::String ^ value); };
public string UITypeName { get; set; }
member this.UITypeName : string with get, set
Public Property UITypeName As String
属性值
实现该 IDtsComponentUI 接口的类型完全限定名称。
示例
以下示例展示了一个组件,该组件指定使用该属性的编辑器。
using System;
using Microsoft.SqlServer.Dts.Pipeline.Design;
using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
namespace DtsDocumentation
{
[DtsPipelineComponent(DisplayName="MyComponent",UITypeName="MyNamespace.MyComponentUIClassName,MyAssemblyName,Version=1.0.0.0,Culture=neutral,PublicKeyToken=")]
public class MyComponent : PipelineComponent
{
}
}
[Visual Basic]
Imports System
Imports Microsoft.SqlServer.Dts.Pipeline.Design
Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper
Namespace DtsDocumentation
<DtsPipelineComponent(DisplayName="MyComponent", UITypeName="MyNamespace.MyComponentUIClassName,MyAssemblyName,Version=1.0.0.0,Culture=neutral,PublicKeyToken=")> _
Public Class MyComponent
Inherits PipelineComponent
End Class
End Namespace
注解
该可选属性指定在SQL Server或SQL Server Data Tools(SSDT)编辑组件时显示的用户界面。
该属性的格式是一个逗号分隔字符串,包含以下元素:
类型名称
程序集名称
文件版本
文化
公钥令牌
该属性中指定的类型名称实现了该 IDtsComponentUI 接口。 通过检查全局汇编缓存中用户界面装配的属性,可以找到和CulturePublicKeyToken参数的值。