Share via


DataSchemaModel.ValidReferenceTranslator Method

Returns a value that indicates whether a reference translator can be used translate from another database schema provider to the current one.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Protected Overridable Function ValidReferenceTranslator ( _
    fromDataSchemaProvider As DatabaseSchemaProvider, _
    referenceTranslator As ModelTranslator _
) As Boolean
protected virtual bool ValidReferenceTranslator(
    DatabaseSchemaProvider fromDataSchemaProvider,
    ModelTranslator referenceTranslator
)
protected:
virtual bool ValidReferenceTranslator(
    DatabaseSchemaProvider^ fromDataSchemaProvider, 
    ModelTranslator^ referenceTranslator
)
abstract ValidReferenceTranslator : 
        fromDataSchemaProvider:DatabaseSchemaProvider * 
        referenceTranslator:ModelTranslator -> bool 
override ValidReferenceTranslator : 
        fromDataSchemaProvider:DatabaseSchemaProvider * 
        referenceTranslator:ModelTranslator -> bool 
protected function ValidReferenceTranslator(
    fromDataSchemaProvider : DatabaseSchemaProvider, 
    referenceTranslator : ModelTranslator
) : boolean

Parameters

Return Value

Type: System.Boolean
true if a reference translator can be used to translate from another database schema provider to the current one; otherwise, false.

Remarks

This method can be overridden by derived classes.

.NET Framework Security

See Also

Reference

DataSchemaModel Class

Microsoft.Data.Schema.SchemaModel Namespace