共用方式為


DtsConnectionAttribute.UITypeName Property

Definition

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

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

Property Value

The type name of the user interface of the connection manager object.

Examples

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.00.000.00,Culture=neutral,PublicKeyToken=")]  
<DtsConnection(DisplayName:="MyConnectionManager", _  
  Description:="Custom Connection Manager for Testing", _  
  IconResource:="MyConnectionManager.MyConnectionMgrIcon.ico", _  
  UITypeName:="MyNamespace.MyConnectionManagerClassName,MyAssemblyName," & _  
  "Version=1.00.000.00,Culture=neutral,PublicKeyToken=")> _  

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).

Remarks

This optional property specifies the user interface that is displayed when the connection manager is edited in 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 IDtsConnectionManagerUI interface.

Applies to