Condividi tramite


Metodo GetEnumerationCollection

Returns the IDTSFriendlyEnumCollection100 of a component.

Spazio dei nomi  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintassi

'Dichiarazione
Function GetEnumerationCollection ( _
    bstrEnumName As String _
) As IDTSFriendlyEnumCollection100
'Utilizzo
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

Parametri

Osservazioni

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.