IDTSFriendlyEnumCollection90 Interface
Contains a collection of IDTSFriendlyEnum90 objects.
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
语法
声明
<GuidAttribute("72BA2210-2BBB-4A5C-8557-C32B4554605A")> _
<TypeLibTypeAttribute(4160)> _
<DefaultMemberAttribute("Item")> _
Public Interface IDTSFriendlyEnumCollection90
Inherits IEnumerable
[GuidAttribute("72BA2210-2BBB-4A5C-8557-C32B4554605A")]
[TypeLibTypeAttribute(4160)]
[DefaultMemberAttribute("Item")]
public interface IDTSFriendlyEnumCollection90 : IEnumerable
[GuidAttribute(L"72BA2210-2BBB-4A5C-8557-C32B4554605A")]
[TypeLibTypeAttribute(4160)]
[DefaultMemberAttribute(L"Item")]
public interface class IDTSFriendlyEnumCollection90 : IEnumerable
/** @attribute GuidAttribute("72BA2210-2BBB-4A5C-8557-C32B4554605A") */
/** @attribute TypeLibTypeAttribute(4160) */
/** @attribute DefaultMemberAttribute("Item") */
public interface IDTSFriendlyEnumCollection90 extends IEnumerable
GuidAttribute("72BA2210-2BBB-4A5C-8557-C32B4554605A")
TypeLibTypeAttribute(4160)
DefaultMemberAttribute("Item")
public interface IDTSFriendlyEnumCollection90 extends IEnumerable
备注
The IDTSFriendlyEnumCollection90 collection is a helper interface used by native C++ component developers to expose names for the values of an enumeration, when the enumeration is specified as the value of an IDTSCustomProperty90 object. The IDTSFriendlyEnumCollection90 and IDTSFriendlyEnum90 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 |
End the friendly enumeration name list. |
After defining a friendly enumeration using the macros listed above, the TypeConverter property of the IDTSCustomProperty90 object is assigned the value of the EnumerationName parameter specified in the BEGIN_FRIENDLY_NAME_ENUM macro.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
IDTSFriendlyEnumCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace