IDTSFriendlyEnumCollection100 인터페이스
Contains a collection of IDTSFriendlyEnum100 objects.
네임스페이스: Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리: Microsoft.SqlServer.DTSPipelineWrap(Microsoft.SqlServer.DTSPipelineWrap.dll)
구문
‘선언
<GuidAttribute("62A4A8D8-3B64-4EB0-BA77-6AE679985259")> _
Public Interface IDTSFriendlyEnumCollection100 _
Inherits IEnumerable
‘사용 방법
Dim instance As IDTSFriendlyEnumCollection100
[GuidAttribute("62A4A8D8-3B64-4EB0-BA77-6AE679985259")]
public interface IDTSFriendlyEnumCollection100 : IEnumerable
[GuidAttribute(L"62A4A8D8-3B64-4EB0-BA77-6AE679985259")]
public interface class IDTSFriendlyEnumCollection100 : IEnumerable
[<GuidAttribute("62A4A8D8-3B64-4EB0-BA77-6AE679985259")>]
type IDTSFriendlyEnumCollection100 =
interface
interface IEnumerable
end
public interface IDTSFriendlyEnumCollection100 extends IEnumerable
IDTSFriendlyEnumCollection100 유형에서 다음 멤버를 표시합니다.
속성
이름 | 설명 | |
---|---|---|
Count | Gets the number of elements contained in an IDTSFriendlyEnumCollection100 collection. | |
IsFlags | Gets a value that specifies whether the values of the IDTSFriendlyEnum100 objects in an IDTSFriendlyEnumCollection100 can be combined together. | |
Item | Gets the IDTSFriendlyEnumCollection100 specified by the Index parameter. |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
GetEnumerator | Returns an IEnumerator that can iterate through an IDTSFriendlyEnumCollection100. |
맨 위로 이동
주의
The IDTSFriendlyEnumCollection100 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 IDTSCustomProperty100 object. The IDTSFriendlyEnumCollection100 and IDTSFriendlyEnum100 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 IDTSCustomProperty100 object is assigned the value of the EnumerationName parameter specified in the BEGIN_FRIENDLY_NAME_ENUM macro.