언어

ForEachEnumeratorInfo.CreateNew 메서드

정의

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()  

적용 대상