Udostępnij przez


CManagedComponentWrapperClass.GetEnumerationCollection Method

Returns the IDTSFriendlyEnumCollection100 specified by the

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Deklaracja
<DispIdAttribute(36)> _
Public Overridable Function GetEnumerationCollection ( _
    <InAttribute> bstrEnumName As String _
) As IDTSFriendlyEnumCollection100 Implements IDTSDesigntimeComponent100.GetEnumerationCollection
[DispIdAttribute(36)] 
public virtual IDTSFriendlyEnumCollection100 IDTSDesigntimeComponent100.GetEnumerationCollection (
    [InAttribute] string bstrEnumName
)
[DispIdAttribute(36)] 
public:
virtual IDTSFriendlyEnumCollection100^ GetEnumerationCollection (
    [InAttribute] String^ bstrEnumName
) = IDTSDesigntimeComponent100::GetEnumerationCollection
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

The IDTSFriendlyEnumCollection100.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.