共用方式為


GetEnumerationCollection 方法

Returns the IDTSFriendlyEnumCollection100 of a component.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Function GetEnumerationCollection ( _
    bstrEnumName As String _
) As IDTSFriendlyEnumCollection100
'用途
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

參數

備註

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.