DtsLocalizableAttribute 類別

Provides localization support by populating the DisplayName and Description properties from an embedded resource file.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Localization
組件:  Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)

語法

'宣告
Public MustInherit Class DtsLocalizableAttribute _
    Inherits Attribute
'用途
Dim instance As DtsLocalizableAttribute
public abstract class DtsLocalizableAttribute : Attribute
public ref class DtsLocalizableAttribute abstract : public Attribute
[<AbstractClassAttribute>]
type DtsLocalizableAttribute =  
    class
        inherit Attribute
    end
public abstract class DtsLocalizableAttribute extends Attribute

備註

DtsLocalizableAttribute is an abstract class that provides support for populating the DisplayName and Description properties of the DtsPipelineComponent attribute.

Developers writing custom dataflow components use the functionality of this class by setting the LocalizationType property to the type of the resource class that contains the resources for the component. This class should contain two properties, named ComponentDisplayName and ComponentDescription, that correspond to the localized string resources.

繼承階層

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.SqlServer.Dts.Pipeline.Localization..::..DtsLocalizableAttribute
      Microsoft.SqlServer.Dts.Pipeline. . :: . .DtsPipelineComponentAttribute

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。