Metodo CManagedComponentWrapperClass.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
Public Overridable Function GetEnumerationCollection ( _
    bstrEnumName As String _
) As IDTSFriendlyEnumCollection100
'Utilizzo
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

Parametri

Valore restituito

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

Implementa

IDTSDesigntimeComponent100.GetEnumerationCollection(String)

Osservazioni

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.

Vedere anche

Riferimento

CManagedComponentWrapperClass Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Pipeline.Wrapper