ConnectionContextElement.Provider Property
Gets or sets the provider type for the connection. For example, System.Data.OracleClient or System.Data.SqlClient.
Namespace: Microsoft.Data.Schema.UnitTesting.Configuration
Assembly: Microsoft.Data.Schema.UnitTesting (in Microsoft.Data.Schema.UnitTesting.dll)
Syntax
'Declaration
Public Property Provider As String
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)
Property Value
Type: System.String
Remarks
The connection context that you set depends on whether you access a PrivilegedContext object or an ExecutionContext object.
.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.