Condividi tramite


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à

Nome del tipo dell'interfaccia utente dell'oggetto enumeratore Foreach.

Esempio

Nell'esempio di codice seguente viene illustrato l'attributo applicato a una nuova classe, con diverse proprietà definite, tra cui , DisplayNameDescriptionForEachEnumeratorContact, 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à facoltativa specifica l'interfaccia utente visualizzata quando l'oggetto ForEach enumeratore viene modificato nella SQL Server SQL Server Data Tools (SSDT).

Si applica a