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


Свойство UITypeName

Specifies the qualified name of the assembly that implements the user interface of the connection manager.

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

Синтаксис

'Декларация
Public Property UITypeName As String
    Get
    Set
'Применение
Dim instance As DtsConnectionAttribute
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 type name of the user interface of the connection manager object.

Замечания

This optional property specifies the user interface that is displayed when the connection manager is edited in Business Intelligence Development Studio.

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 IDtsConnectionManagerUI interface.

Примеры

The following example demonstrates the proper format of this property.

  [DtsConnection(DisplayName = "MyConnectionManager",
    Description = "Custom Connection Manager for Testing",
    IconResource = "MyConnectionManager.MyConnectionMgrIcon.ico",
    UITypeName = "MyNamespace.MyConnectionManagerClassName," +
    "MyAssemblyName,Version=1.0.0.0,Culture=neutral," +
    "PublicKeyToken=<value>")]
<DtsConnection(DisplayName:="MyConnectionManager", _
  Description:="Custom Connection Manager for Testing", _
  IconResource:="MyConnectionManager.MyConnectionMgrIcon.ico", _
  UITypeName:="MyNamespace.MyConnectionManagerClassName,MyAssemblyName," & _
  "Version=1.0.0.0,Culture=neutral,PublicKeyToken=<value>")> _

You find the values of the Culture and PublicKeyToken parameters by examining the properties of the user interface assembly in the global assembly cache (GAC).