DatabaseSchemaProvider.GetCompatibleDatabaseSchemaProviderTypes 方法
傳回提供者型別清單,這些提供者型別與這個提供者相容。
命名空間: Microsoft.Data.Schema
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Shared Function GetCompatibleDatabaseSchemaProviderTypes ( _
serverExplorerDataSource As Guid, _
serverExplorerDataProvider As Guid, _
connectionString As String _
) As IList(Of Type)
public static IList<Type> GetCompatibleDatabaseSchemaProviderTypes(
Guid serverExplorerDataSource,
Guid serverExplorerDataProvider,
string connectionString
)
public:
static IList<Type^>^ GetCompatibleDatabaseSchemaProviderTypes(
Guid serverExplorerDataSource,
Guid serverExplorerDataProvider,
String^ connectionString
)
static member GetCompatibleDatabaseSchemaProviderTypes :
serverExplorerDataSource:Guid *
serverExplorerDataProvider:Guid *
connectionString:string -> IList<Type>
public static function GetCompatibleDatabaseSchemaProviderTypes(
serverExplorerDataSource : Guid,
serverExplorerDataProvider : Guid,
connectionString : String
) : IList<Type>
參數
- serverExplorerDataSource
型別:System.Guid
Guid ,識別連接的資料來源。
- serverExplorerDataProvider
型別:System.Guid
Guid ,識別連接的資料提供者。
- connectionString
型別:System.String
資料庫連接字串。
傳回值
型別:System.Collections.Generic.IList<Type>
相容結構描述提供者的型別清單。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。