ConnectionContextElement.Provider 属性

获取或设置用于连接的提供程序类型。 例如 System.Data.OracleClient 或 System.Data.SqlClient。

命名空间:  Microsoft.Data.Schema.UnitTesting.Configuration
程序集:  Microsoft.Data.Schema.UnitTesting(在 Microsoft.Data.Schema.UnitTesting.dll 中)

语法

声明
Public Property Provider As String
    Get
    Set
public string Provider { get; set; }
public:
property String^ Provider {
    String^ get ();
    void set (String^ value);
}
member Provider : string with get, set
function get Provider () : String
function set Provider (value : String)

属性值

类型:System.String

备注

您所设置的连接上下文取决于您访问的是 PrivilegedContext 对象还是 ExecutionContext 对象。

.NET Framework 安全性

请参见

参考

ConnectionContextElement 类

Microsoft.Data.Schema.UnitTesting.Configuration 命名空间