다음을 통해 공유


CManagedComponentWrapperClass.GetEnumerationCollection 메서드

Returns the IDTSFriendlyEnumCollection100 of a component.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리:  Microsoft.SqlServer.DTSPipelineWrap(Microsoft.SqlServer.DTSPipelineWrap.dll)

구문

‘선언
Public Overridable Function GetEnumerationCollection ( _
    bstrEnumName As String _
) As IDTSFriendlyEnumCollection100
‘사용 방법
Dim instance As CManagedComponentWrapperClass 
Dim bstrEnumName As String 
Dim returnValue As IDTSFriendlyEnumCollection100 

returnValue = instance.GetEnumerationCollection(bstrEnumName)
public virtual IDTSFriendlyEnumCollection100 GetEnumerationCollection(
    string bstrEnumName
)
public:
virtual IDTSFriendlyEnumCollection100^ GetEnumerationCollection(
    [InAttribute] String^ bstrEnumName
)
abstract GetEnumerationCollection : 
        bstrEnumName:string -> IDTSFriendlyEnumCollection100  
override GetEnumerationCollection : 
        bstrEnumName:string -> IDTSFriendlyEnumCollection100
public function GetEnumerationCollection(
    bstrEnumName : String
) : IDTSFriendlyEnumCollection100

매개 변수

반환 값

유형: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSFriendlyEnumCollection100
The collection of names for the values of the enumeration.

구현

IDTSDesigntimeComponent100.GetEnumerationCollection(String)

주의

This method retrieves the IDTSFriendlyEnumCollection100 for the enumeration specified by the bstrEnumName parameter. The collection is used to provide "friendly" values for the values of the items in an enumeration instead of a number.

참고 항목

참조

CManagedComponentWrapperClass 클래스

Microsoft.SqlServer.Dts.Pipeline.Wrapper 네임스페이스