IDTSFriendlyEnum100 Interface

Definition

Provides names for the values of an enumeration.

public interface class IDTSFriendlyEnum100
[System.Runtime.InteropServices.Guid("D9F50A74-6F87-4CBE-9933-AF55260670C7")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSFriendlyEnum100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("26D59CDA-17F7-4474-91E1-F6758FA10AE6")]
public interface IDTSFriendlyEnum100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("9A3002D8-B237-4E7B-861D-41C978C3F624")]
public interface IDTSFriendlyEnum100
[<System.Runtime.InteropServices.Guid("D9F50A74-6F87-4CBE-9933-AF55260670C7")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSFriendlyEnum100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("26D59CDA-17F7-4474-91E1-F6758FA10AE6")>]
type IDTSFriendlyEnum100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("9A3002D8-B237-4E7B-861D-41C978C3F624")>]
type IDTSFriendlyEnum100 = interface
Public Interface IDTSFriendlyEnum100
Attributes

Remarks

The IDTSFriendlyEnum100 interface is a helper interface used by native C++ component developers to expose "friendly names" for the value of an item in an enumeration. The IDTSFriendlyEnum100 and IDTSFriendlyEnumCollection100 are used in combination with the following macros to provide friendly names for the values of an enumeration in DTS designer.

Macro Description
BEGIN_FRIENDLY_NAME_ENUM_LIST Starts the friendly name enumeration list.
BEGIN_FRIENDLY_NAME_ENUM( EnumerationName, IsFlags) Starts a friendly name enumeration list block. This is specified once for each enumeration. The EnumerationName parameter specifies the name of the enumeration and the IsFlags parameter specifies whether the values in the enumeration can be ORed together.
FRIENDLY_NAME(Value, NameID) Adds a friendly name for a specific value in the enumeration specified in the BEGIN_FRIENDLY_NAME_ENUM. The Value parameter specifies the item in the enumeration and the NameID parameter specifies the string that is displayed for the enumeration value.
END_FRIENDLY_NAME_ENUM Indicates the end of the friendly enumeration; specified once for each BEGIN_FRIENDLY_ENUM macro.
END_FRIENDLY_ENUM_LIST Ends the friendly enumeration name list.

After defining a friendly enumeration using the macros listed above, the TypeConverter property of the IDTSCustomProperty100 object is assigned the value of the EnumerationName parameter specified in the BEGIN_FRIENDLY_NAME_ENUM macro.

Properties

Name

Gets the name of a value in an enumeration.

Value

Gets the friendly name used for an enumeration item identified by the Name property.

Applies to