Nota
L'accés a aquesta pàgina requereix autorització. Podeu provar d'iniciar la sessió o de canviar els directoris.
L'accés a aquesta pàgina requereix autorització. Podeu provar de canviar els directoris.
Initializes a new instance of the LocalizablePropertyDescriptionAttribute class using the specified type and property name.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Localization
Ensamblado: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
Sintaxis
'Declaración
Public Sub New ( _
type As Type, _
propertyName As String _
)
public LocalizablePropertyDescriptionAttribute (
Type type,
string propertyName
)
public:
LocalizablePropertyDescriptionAttribute (
Type^ type,
String^ propertyName
)
public LocalizablePropertyDescriptionAttribute (
Type type,
String propertyName
)
public function LocalizablePropertyDescriptionAttribute (
type : Type,
propertyName : String
)
Parámetros
- type
The type name, where Type is defined by the Type Class in the .NET Framework Class Library. This type contains the property referred to by propertyName.
- propertyName
The name of property on the type which returns localized property description.
Notas
The property must be static, and return a String.
Ejemplo
The following code example shows a class that implements this attribute.
[LocalizablePropertyDescription(typeof(myObject),"PackageTypeDesc")]
public class MyTask : Task
{
// Your code here.
}
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
LocalizablePropertyDescriptionAttribute Class
LocalizablePropertyDescriptionAttribute Members
Microsoft.SqlServer.Dts.Runtime.Localization Namespace