ForEachEnumeratorInfo.CreateNew 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
ForEach 열거자마다 새로운 ForEachEnumeratorHost 항목을 생성합니다.
public:
Microsoft::SqlServer::Dts::Runtime::ForEachEnumeratorHost ^ CreateNew();
public Microsoft.SqlServer.Dts.Runtime.ForEachEnumeratorHost CreateNew();
member this.CreateNew : unit -> Microsoft.SqlServer.Dts.Runtime.ForEachEnumeratorHost
Public Function CreateNew () As ForEachEnumeratorHost
반품
예제
다음 코드 예시는 각 항목에 대해 열거자를 생성합니다 ForEachEnumeratorHost .
메모
다음 코드 샘플을 영어가 아닌 로케이션으로 사용하려면 "For Each Item Enumerator" 문자열을 열거자의 현지화된 이름으로 변경하세요.
ForEachEnumeratorInfos feInfos = app.ForEachEnumeratorInfos;
//Find the For Each Item Enumerator, and
//create its host.
ForEachEnumeratorInfo feFileEnum = feInfos["For Each Item Enumerator"];
ForEachEnumeratorHost feHost = feFileEnum.CreateNew();
Dim feInfos As ForEachEnumeratorInfos = app.ForEachEnumeratorInfos
'Find the For Each Item Enumerator, and
'create its host.
Dim feFileEnum As ForEachEnumeratorInfo = feInfos("For Each Item Enumerator")
Dim feHost As ForEachEnumeratorHost = feFileEnum.CreateNew()