IDTSFriendlyEnum100 Interface

Provides names for the values of an enumeration.

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


<GuidAttribute("7C18DCB4-DAD8-40CA-8DFE-2EBF64E92C7D")> _
Public Interface IDTSFriendlyEnum100
Dim instance As IDTSFriendlyEnum100
public interface IDTSFriendlyEnum100
public interface class IDTSFriendlyEnum100
type IDTSFriendlyEnum100 =  interface end
public interface IDTSFriendlyEnum100

The IDTSFriendlyEnum100 type exposes the following members.


  Name Description
Public property Name Gets the name of a value in an enumeration.
Public property Value Gets the friendly name used for an enumeration item identified by the Name property.



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.




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.


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.


Indicates the end of the friendly enumeration; specified once for each BEGIN_FRIENDLY_ENUM macro.


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.