共用方式為


CManagedComponentWrapperClass.GetEnumerationCollection(String) Method

Definition

Returns the IDTSFriendlyEnumCollection100 of a component.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSFriendlyEnumCollection100 ^ GetEnumerationCollection(System::String ^ bstrEnumName) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSDesigntimeComponent100::GetEnumerationCollection;
[System.Runtime.InteropServices.DispId(36)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSFriendlyEnumCollection100 GetEnumerationCollection (string bstrEnumName);
[<System.Runtime.InteropServices.DispId(36)>]
abstract member GetEnumerationCollection : string -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSFriendlyEnumCollection100
override this.GetEnumerationCollection : string -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSFriendlyEnumCollection100
Public Overridable Function GetEnumerationCollection (bstrEnumName As String) As IDTSFriendlyEnumCollection100

Parameters

bstrEnumName
String

The name of the IDTSFriendlyEnum100 object that is retrieved.

Returns

The collection of names for the values of the enumeration.

Implements

Attributes

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.

Applies to