ExtensionManager.IsCompatibleWithCurrentProvider Method

Returns a value that indicates whether passing a Data Services Provider name or key is compatible with the current provider in this ExtensionManager.

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

Syntax

'Declaration
Public Function IsCompatibleWithCurrentProvider ( _
    assemblyName As String, _
    newProviderTypeName As String _
) As Boolean
public bool IsCompatibleWithCurrentProvider(
    string assemblyName,
    string newProviderTypeName
)
public:
bool IsCompatibleWithCurrentProvider(
    String^ assemblyName, 
    String^ newProviderTypeName
)
member IsCompatibleWithCurrentProvider : 
        assemblyName:string * 
        newProviderTypeName:string -> bool 
public function IsCompatibleWithCurrentProvider(
    assemblyName : String, 
    newProviderTypeName : String
) : boolean

Parameters

  • assemblyName
    Type: System.String
    A String that contains the name of the assembly that provides the extension.
  • newProviderTypeName
    Type: System.String
    A String that contains the type name of a data services provider.

Return Value

Type: System.Boolean
true if the data services provider type is compatible with the current ExtensionManager; otherwise, false.

.NET Framework Security

See Also

Reference

ExtensionManager Class

Microsoft.Data.Schema.Extensibility Namespace