Share via


ActionTypeConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the action type object to a specified object.

Namespace:  Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Assembly:  Microsoft.SqlServer.TransferDatabasesTask (in Microsoft.SqlServer.TransferDatabasesTask.dll)

Syntax

'Declaration
Public Overrides Function ConvertTo ( _
    context As ITypeDescriptorContext, _
    culture As CultureInfo, _
    value As Object, _
    destinationType As Type _
) As Object
'Usage
Dim instance As ActionTypeConverter 
Dim context As ITypeDescriptorContext 
Dim culture As CultureInfo 
Dim value As Object 
Dim destinationType As Type 
Dim returnValue As Object 

returnValue = instance.ConvertTo(context, _
    culture, value, destinationType)
public override Object ConvertTo(
    ITypeDescriptorContext context,
    CultureInfo culture,
    Object value,
    Type destinationType
)
public:
virtual Object^ ConvertTo(
    ITypeDescriptorContext^ context, 
    CultureInfo^ culture, 
    Object^ value, 
    Type^ destinationType
) override
abstract ConvertTo : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object * 
        destinationType:Type -> Object  
override ConvertTo : 
        context:ITypeDescriptorContext * 
        culture:CultureInfo * 
        value:Object * 
        destinationType:Type -> Object
public override function ConvertTo(
    context : ITypeDescriptorContext, 
    culture : CultureInfo, 
    value : Object, 
    destinationType : Type
) : Object

Parameters

  • destinationType
    Type: System.Type
    The destination type.

Return Value

Type: System.Object
The converted action type object.

See Also

Reference

ActionTypeConverter Class

ConvertTo Overload

Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask Namespace