Compartir a través de


DtsForEachEnumeratorAttribute.ForEachEnumeratorContact Propiedad

Gets or sets the contact information for the Foreach enumerator object.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Property ForEachEnumeratorContact As String 
    Get 
    Set
'Uso
Dim instance As DtsForEachEnumeratorAttribute 
Dim value As String 

value = instance.ForEachEnumeratorContact

instance.ForEachEnumeratorContact = value
public string ForEachEnumeratorContact { get; set; }
public:
property String^ ForEachEnumeratorContact {
    String^ get ();
    void set (String^ value);
}
member ForEachEnumeratorContact : string with get, set
function get ForEachEnumeratorContact () : String 
function set ForEachEnumeratorContact (value : String)

Valor de la propiedad

Tipo: System.String
The contact information for the Foreach enumerator object.

Comentarios

This optional property is used to specify contact information for the Foreach enumerator object.

Ejemplos

The following code sample shows the attribute applied to a new class, with several properties defined, including the DisplayName, Description, ForEachEnumeratorContact, and 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

Vea también

Referencia

DtsForEachEnumeratorAttribute Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime