Freigeben über


DtsForEachEnumeratorAttribute.UITypeName Eigenschaft

Definition

Dient zum Abrufen oder Festlegen der Benutzeroberfläche für das Foreach-Enumerationsobjekt.

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

Eigenschaftswert

Der Typname der Benutzeroberfläche des Foreach-Enumerationsobjekts.

Beispiele

Das folgende Codebeispiel zeigt das Attribut, das auf eine neue Klasse angewendet wird, wobei mehrere Eigenschaften definiert sind, einschließlich der DisplayName, Description, ForEachEnumeratorContactund 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  

Hinweise

Diese optionale Eigenschaft gibt die Benutzeroberfläche an, die angezeigt wird, wenn das ForEach Enumerationeratorobjekt in der SQL Server SQL Server Data Tools (SSDT) bearbeitet wird.

Gilt für: