GetEnumerationCollection méthode
Returns the IDTSFriendlyEnumCollection100 specified by the
Espace de noms : Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (dans Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntaxe
'Déclaration
Public Overridable Function GetEnumerationCollection ( _
bstrEnumName As String _
) As IDTSFriendlyEnumCollection100
'Utilisation
Dim instance As CManagedComponentWrapperClass
Dim bstrEnumName As String
Dim returnValue As IDTSFriendlyEnumCollection100
returnValue = instance.GetEnumerationCollection(bstrEnumName)
public virtual IDTSFriendlyEnumCollection100 GetEnumerationCollection(
string bstrEnumName
)
public:
virtual IDTSFriendlyEnumCollection100^ GetEnumerationCollection(
[InAttribute] String^ bstrEnumName
)
abstract GetEnumerationCollection :
bstrEnumName:string -> IDTSFriendlyEnumCollection100
override GetEnumerationCollection :
bstrEnumName:string -> IDTSFriendlyEnumCollection100
public function GetEnumerationCollection(
bstrEnumName : String
) : IDTSFriendlyEnumCollection100
Paramètres
- bstrEnumName
Type : System. . :: . .String
The name of the IDTSFriendlyEnum100 object that is retrieved.
Valeur de retour
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSFriendlyEnumCollection100
The IDTSFriendlyEnumCollection100.
Implémente
IDTSDesigntimeComponent100. . :: . .GetEnumerationCollection(String)
Notes
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.