다음을 통해 공유


DtsForEachEnumeratorAttribute.ForEachEnumeratorContact Property

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

네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

구문

‘선언
Public Property ForEachEnumeratorContact As String
public string ForEachEnumeratorContact { get; set; }
public:
property String^ ForEachEnumeratorContact {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ForEachEnumeratorContact ()

/** @property */
public void set_ForEachEnumeratorContact (String value)
public function get ForEachEnumeratorContact () : String

public function set ForEachEnumeratorContact (value : String)

속성 값

The contact information for the Foreach enumerator object.

주의

업데이트된 예제 코드:2007년 9월 15일

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

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

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

DtsForEachEnumeratorAttribute Class
DtsForEachEnumeratorAttribute Members
Microsoft.SqlServer.Dts.Runtime Namespace