DtsForEachEnumeratorAttribute.UITypeName Proprietà

Definizione

Ottiene o imposta l'interfaccia utente per l'oggetto enumeratore Foreach.

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 enumeratore Foreach.

Esempio

Il seguente esempio di codice mostra l'attributo applicato a una nuova classe, con diverse proprietà definite, tra cui , DisplayNameDescription, ForEachEnumeratorContact, e UITypeName.

using System;  
using Microsoft.SqlServer.Dts.Runtime;  

namespace Microsoft.Samples.SqlServer.Dts  
{  
// This attribute marks the class as a managed ForEachEnumerator.  
    [DtsForEachEnumerator(DisplayName = "MyEnumerator",  
      Description="A managed enumerator",  
      UITypeName="<FullyQualifiedTypeName>",  
      ForEachEnumeratorContact="Name of company to contact")]  
    public class MyEnumerator : ForEachEnumerator  
    {  
        // Insert your enumerator code here.  
    }  
}  
Imports System  
Imports Microsoft.SqlServer.Dts.Runtime  

Namespace Microsoft.Samples.SqlServer.Dts  
  ' This attribute marks the class as a managed ForEachEnumerator.  
  <DtsForEachEnumerator(DisplayName:="MyEnumerator", _  
    Description:="A managed enumerator", _  
    UITypeName:="<FullyQualifiedTypeName>", _  
    ForEachEnumeratorContact:="Name of company to contact")> _  
  Public Class MyEnumerator  
    Inherits ForEachEnumerator  
    ' Insert your enumerator code here.  
  End Class  
End Namespace  

Commenti

Questa proprietà opzionale specifica l'interfaccia utente che viene visualizzata quando l'oggetto ForEach enumeratore viene modificato nel SQL Server SQL Server Data Tools (SSDT).

Si applica a