GetEnumerationCollection 方法

Returns the IDTSFriendlyEnumCollection100 specified by the

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Public Overridable Function GetEnumerationCollection ( _
    bstrEnumName As String _
) As IDTSFriendlyEnumCollection100
用法
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

参数

实现

IDTSDesigntimeComponent100. . :: . .GetEnumerationCollection(String)

注释

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.