DtsLocalizableAttribute Constructor
Initializes a new instance of the DtsLocalizableAttribute class.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Localization
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)
語法
'宣告
Protected Sub New ( _
localizedDisplayNameProperty As String, _
localizedDescriptionProperty As String _
)
protected DtsLocalizableAttribute (
string localizedDisplayNameProperty,
string localizedDescriptionProperty
)
protected:
DtsLocalizableAttribute (
String^ localizedDisplayNameProperty,
String^ localizedDescriptionProperty
)
protected DtsLocalizableAttribute (
String localizedDisplayNameProperty,
String localizedDescriptionProperty
)
protected function DtsLocalizableAttribute (
localizedDisplayNameProperty : String,
localizedDescriptionProperty : String
)
參數
- localizedDisplayNameProperty
The name of the property used to look up the DisplayName property in the resource class.
- localizedDescriptionProperty
The name of the property used to look up the Description property in the resource class.
備註
When using the DtsPipelineComponentAttribute, the values of the localizedDisplayNameProperty and localizedDescriptionProperty are always ComponentDisplayName and ComponentDescription. Therefore, the keys in the resource file should be named the same. The DtsLocalizableAttribute class uses the System.Reflection.Type.GetProperty method to retrieve these properties, and then calls the GetValue method to populate them.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
DtsLocalizableAttribute Class
DtsLocalizableAttribute Members
Microsoft.SqlServer.Dts.Pipeline.Localization Namespace