Метод ActionTypeConverter.CanConvertTo (ITypeDescriptorContext, Type)

Specifies whether the action type converter can convert to a specified destination object.

Пространство имен:  Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Сборка:  Microsoft.SqlServer.TransferDatabasesTask (в Microsoft.SqlServer.TransferDatabasesTask.dll)

Синтаксис

'Декларация
Public Overrides Function CanConvertTo ( _
    context As ITypeDescriptorContext, _
    destinationType As Type _
) As Boolean
'Применение
Dim instance As ActionTypeConverter 
Dim context As ITypeDescriptorContext 
Dim destinationType As Type 
Dim returnValue As Boolean 

returnValue = instance.CanConvertTo(context, _
    destinationType)
public override bool CanConvertTo(
    ITypeDescriptorContext context,
    Type destinationType
)
public:
virtual bool CanConvertTo(
    ITypeDescriptorContext^ context, 
    Type^ destinationType
) override
abstract CanConvertTo : 
        context:ITypeDescriptorContext * 
        destinationType:Type -> bool  
override CanConvertTo : 
        context:ITypeDescriptorContext * 
        destinationType:Type -> bool
public override function CanConvertTo(
    context : ITypeDescriptorContext, 
    destinationType : Type
) : boolean

Параметры

  • destinationType
    Тип: System.Type
    The destination type.

Возвращаемое значение

Тип: System.Boolean
True if the action type converter can convert to a specified destination object; otherwise, false.

См. также

Справочник

ActionTypeConverter Класс

Перегрузка CanConvertTo

Пространство имен Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask