DtsTaskAttribute.UITypeName Proprietà

Definizione

Specifica il nome qualificato dell'assembly che implementa l'interfaccia utente del task.

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

Valore della proprietà

Il nome del tipo dell'interfaccia utente dell'oggetto task.

Esempio

Il seguente esempio dimostra il formato corretto di questa proprietà.

using System;  
using Microsoft.SqlServer.Dts.Runtime;  
namespace Microsoft.SSIS.Samples  
{  
  [DtsTask  
  (  
   DisplayName = "MyTask",  
   IconResource = "MyTask.MyTaskIcon.ico",  
   UITypeName = "My Custom Task," +  
   "Version=1.0.0.0," +  
   "Culture = Neutral," +  
   "PublicKeyToken = 12345abc6789de01",  
   TaskType = "PackageMaintenance",  
   TaskContact = "MyTask; company name; any other information",  
   RequiredProductLevel = DTSProductLevel.None  
   )]  
  public class MyTask : Task  
  {  
    // Your code here.  
  }  
}  
Imports System  
Imports Microsoft.SqlServer.Dts.Runtime  

<DtsTask(DisplayName:="MyTask", _  
 IconResource:="MyTask.MyTaskIcon.ico", _  
 UITypeName:="My Custom Task," & _  
 "Version=1.0.0.0,Culture=Neutral," & _  
 "PublicKeyToken=12345abc6789de01", _  
 TaskType:="PackageMaintenance", _  
 TaskContact:="MyTask; company name; any other information", _  
 RequiredProductLevel:=DTSProductLevel.None)> _  
Public Class MyTask  
  Inherits Task  

  ' Your code here.  

End Class 'MyTask  

Trovi i valori dei Culture parametri e PublicKeyToken esaminando le proprietà dell'assembly dell'interfaccia utente nella cache assembly globale.

Commenti

Questa proprietà opzionale specifica l'interfaccia utente che viene visualizzata quando il compito viene modificato nei SQL Server Data Tools (SSDT).

Il formato della proprietà è una stringa delimitata da virgole che contiene i seguenti elementi:

  • Nome del tipo

  • Nome dell'assembly

  • Versione del file

  • Cultura

  • Token di chiave pubblica

Si applica a