Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Specifies whether the action type converter can convert from a specified source object.
Пространство имен: Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Сборка: Microsoft.SqlServer.TransferDatabasesTask (в Microsoft.SqlServer.TransferDatabasesTask.dll)
Синтаксис
'Декларация
Public Overrides Function CanConvertFrom ( _
context As ITypeDescriptorContext, _
sourceType As Type _
) As Boolean
'Применение
Dim instance As ActionTypeConverter
Dim context As ITypeDescriptorContext
Dim sourceType As Type
Dim returnValue As Boolean
returnValue = instance.CanConvertFrom(context, _
sourceType)
public override bool CanConvertFrom(
ITypeDescriptorContext context,
Type sourceType
)
public:
virtual bool CanConvertFrom(
ITypeDescriptorContext^ context,
Type^ sourceType
) override
abstract CanConvertFrom :
context:ITypeDescriptorContext *
sourceType:Type -> bool
override CanConvertFrom :
context:ITypeDescriptorContext *
sourceType:Type -> bool
public override function CanConvertFrom(
context : ITypeDescriptorContext,
sourceType : Type
) : boolean
Параметры
- context
Тип: System.ComponentModel.ITypeDescriptorContext
The context.
- sourceType
Тип: System.Type
The source type.
Возвращаемое значение
Тип: System.Boolean
True if the action type converter can convert from a specified source object; otherwise, false.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask