다음을 통해 공유


DtsLocalizableAttribute 생성자

Initializes a new instance of the DtsLocalizableAttribute class.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline.Localization
어셈블리:  Microsoft.SqlServer.PipelineHost(Microsoft.SqlServer.PipelineHost.dll)

구문

‘선언
Protected Sub New ( _
    localizedDisplayNameProperty As String, _
    localizedDescriptionProperty As String _
)
‘사용 방법
Dim localizedDisplayNameProperty As String 
Dim localizedDescriptionProperty As String 

Dim instance As New DtsLocalizableAttribute(localizedDisplayNameProperty, _
    localizedDescriptionProperty)
protected DtsLocalizableAttribute(
    string localizedDisplayNameProperty,
    string localizedDescriptionProperty
)
protected:
DtsLocalizableAttribute(
    String^ localizedDisplayNameProperty, 
    String^ localizedDescriptionProperty
)
new : 
        localizedDisplayNameProperty:string * 
        localizedDescriptionProperty:string -> DtsLocalizableAttribute
protected function DtsLocalizableAttribute(
    localizedDisplayNameProperty : String, 
    localizedDescriptionProperty : String
)

매개 변수

  • localizedDisplayNameProperty
    유형: System.String
    The name of the property used to look up the DisplayName property in the resource class.
  • localizedDescriptionProperty
    유형: System.String
    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.

참고 항목

참조

DtsLocalizableAttribute 클래스

Microsoft.SqlServer.Dts.Pipeline.Localization 네임스페이스