Delen via


IDTSDesigntimeComponent100.GetEnumerationCollection Method

Returns the IDTSFriendlyEnumCollection100 of a component.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Function GetEnumerationCollection ( _
    bstrEnumName As String _
) As IDTSFriendlyEnumCollection100
'Usage
Dim instance As IDTSDesigntimeComponent100
Dim bstrEnumName As String
Dim returnValue As IDTSFriendlyEnumCollection100

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

Parameters

Remarks

This method is called to retrieve the IDTSFriendlyEnumCollection100 for a component. The IDTSFriendlyEnumCollection100 and the IDTSFriendlyEnum100 are implemented and are used to provide friendly names for the values of an enumeration.