DatabaseSchemaProvider.SchemaVersionSupported Method
Returns a value that indicates whether the provided version is the same as that of the schema model, or whether an XLST is available to convert the schema model to the provided version.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function SchemaVersionSupported ( _
version As String _
) As Boolean
public bool SchemaVersionSupported(
string version
)
public:
bool SchemaVersionSupported(
String^ version
)
member SchemaVersionSupported :
version:string -> bool
public function SchemaVersionSupported(
version : String
) : boolean
Parameters
- version
Type: System.String
The version to use to determine supportability.
Return Value
Type: System.Boolean
true if the provided version matches that of the ModelSchema property, or if the GetSchemaUpgradeXslt method returns XSLT that can upgrade the schema model to the provided version; 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.