DtsForEachEnumeratorAttribute.UITypeName Property
Gets or sets the user interface for the Foreach enumerator object.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
語法
'宣告
Public Property UITypeName As String
public string UITypeName { get; set; }
public:
property String^ UITypeName {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_UITypeName ()
/** @property */
public void set_UITypeName (String value)
public function get UITypeName () : String
public function set UITypeName (value : String)
屬性值
The type name of the user interface of the Foreach enumerator object.
備註
更新的範例程式碼:2007 年 9 月 15 日
This optional property specifies the user interface that is displayed when the ForEach enumerator object is edited in the SQL Server Business Intelligence Development Studio.
範例
The following code sample shows the attribute applied to a new class, with several properties defined, including the DisplayName, Description, ForEachEnumeratorContact, and UITypeName.
using System;
using Microsoft.SqlServer.Dts.Runtime;
namespace Microsoft.Samples.SqlServer.Dts
{
// This attribute marks the class as a managed ForEachEnumerator.
[DtsForEachEnumerator(DisplayName = "MyEnumerator",
Description="A managed enumerator",
UITypeName="<FullyQualifiedTypeName>",
ForEachEnumeratorContact="Name of company to contact")]
public class MyEnumerator : ForEachEnumerator
{
// Insert your enumerator code here.
}
}
Imports System
Imports Microsoft.SqlServer.Dts.Runtime
Namespace Microsoft.Samples.SqlServer.Dts
' This attribute marks the class as a managed ForEachEnumerator.
<DtsForEachEnumerator(DisplayName:="MyEnumerator", _
Description:="A managed enumerator", _
UITypeName:="<FullyQualifiedTypeName>", _
ForEachEnumeratorContact:="Name of company to contact")> _
Public Class MyEnumerator
Inherits ForEachEnumerator
' Insert your enumerator code here.
End Class
End Namespace
執行緒安全性
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
DtsForEachEnumeratorAttribute Class
DtsForEachEnumeratorAttribute Members
Microsoft.SqlServer.Dts.Runtime Namespace