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
매개 변수
- context
유형: System.ComponentModel.ITypeDescriptorContext
The context.
- destinationType
유형: System.Type
The destination type.
반환 값
유형: System.Boolean
True if the action type converter can convert to a specified destination object; otherwise, false.