次の方法で共有


ExtensionManager.IsCompatibleWithCurrentProvider メソッド

データ サービス プロバイダ名を渡すかどうか、またはキーがこの ExtensionManager の現在のプロバイダと互換性があるかどうかをチェックします。

名前空間 :  Microsoft.Data.Schema.Extensibility
アセンブリ :  Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)

構文

'宣言
Public Function IsCompatibleWithCurrentProvider ( _
    assemblyName As String, _
    newProviderTypeName As String _
) As Boolean
'使用
Dim instance As ExtensionManager
Dim assemblyName As String
Dim newProviderTypeName As String
Dim returnValue As Boolean

returnValue = instance.IsCompatibleWithCurrentProvider(assemblyName, _
    newProviderTypeName)
public bool IsCompatibleWithCurrentProvider(
    string assemblyName,
    string newProviderTypeName
)
public:
bool IsCompatibleWithCurrentProvider(
    String^ assemblyName, 
    String^ newProviderTypeName
)
public function IsCompatibleWithCurrentProvider(
    assemblyName : String, 
    newProviderTypeName : String
) : boolean

パラメータ

  • assemblyName
    型 : System.String
    String は、拡張機能が配置されているアセンブリの名前です。
  • newProviderTypeName
    型 : System.String
    String は、データ サービス プロバイダの種類の名前です。

戻り値

型 : System.Boolean
データ サービス プロバイダが現在の ExtensionManager と互換性がある場合、Boolean は True を返します。

参照

参照

ExtensionManager クラス

ExtensionManager メンバ

Microsoft.Data.Schema.Extensibility 名前空間