共用方式為


IDTSDesigntimeComponent90.GetEnumerationCollection Method

Returns the IDTSFriendlyEnumCollection90 of a component.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<DispIdAttribute(36)> _
Function GetEnumerationCollection ( _
    <InAttribute> bstrEnumName As String _
) As IDTSFriendlyEnumCollection90
[DispIdAttribute(36)] 
IDTSFriendlyEnumCollection90 GetEnumerationCollection (
    [InAttribute] string bstrEnumName
)
[DispIdAttribute(36)] 
IDTSFriendlyEnumCollection90^ GetEnumerationCollection (
    [InAttribute] String^ bstrEnumName
)
/** @attribute DispIdAttribute(36) */ 
IDTSFriendlyEnumCollection90 GetEnumerationCollection (
    /** @attribute InAttribute() */ String bstrEnumName
)
DispIdAttribute(36) 
function GetEnumerationCollection (
    bstrEnumName : String
) : IDTSFriendlyEnumCollection90

參數

傳回值

The IDTSFriendlyEnumCollection90 of the component.

備註

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

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IDTSDesigntimeComponent90 Interface
IDTSDesigntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace