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


Свойство DtsPipelineComponentAttribute.UITypeName

Gets or sets the qualified name of the assembly implementing the user interface of the component.

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

Синтаксис

'Декларация
Public Property UITypeName As String 
    Get 
    Set
'Применение
Dim instance As DtsPipelineComponentAttribute 
Dim value As String 

value = instance.UITypeName

instance.UITypeName = value
public string UITypeName { get; set; }
public:
property String^ UITypeName {
    String^ get ();
    void set (String^ value);
}
member UITypeName : string with get, set
function get UITypeName () : String 
function set UITypeName (value : String)

Значение свойства

Тип: System.String
The fully qualified name of the type implementing the IDtsComponentUI interface.

Замечания

This optional property specifies the user interface that is displayed when the component is edited in SQL Server or SQL Server Data Tools (SSDT).

The format of the property is a comma-delimited string that contains the following elements:

  • Type name

  • Assembly name

  • File version

  • Culture

  • Public key token

The type name specified in this property implements the IDtsComponentUI interface. The values of the Culture and PublicKeyToken parameters can be found by examining the properties of the user interface assembly in the global assembly cache.

Примеры

The following example shows a component that specifies an editor using this property.

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

См. также

Справочник

DtsPipelineComponentAttribute Класс

Пространство имен Microsoft.SqlServer.Dts.Pipeline