ModelTranslator.CanTranslateTo Method (Type)
Returns a value that indicates whether the translator can translate to the provided type.
Namespace: Microsoft.Data.Schema.SchemaModel.Translation
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public MustOverride Function CanTranslateTo ( _
toDatabaseSchemaProvider As Type _
) As Boolean
public abstract bool CanTranslateTo(
Type toDatabaseSchemaProvider
)
public:
virtual bool CanTranslateTo(
Type^ toDatabaseSchemaProvider
) abstract
abstract CanTranslateTo :
toDatabaseSchemaProvider:Type -> bool
public abstract function CanTranslateTo(
toDatabaseSchemaProvider : Type
) : boolean
Parameters
- toDatabaseSchemaProvider
Type: System.Type
A Type that represents the target database schema provider.
Return Value
Type: System.Boolean
true if the translator can translate to the provided type; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.