Partager via


Méthode GetEnumerationCollection

Returns the IDTSFriendlyEnumCollection100 of a component.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
Function GetEnumerationCollection ( _
    bstrEnumName As String _
) As IDTSFriendlyEnumCollection100
'Utilisation
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

Paramètres

Notes

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.