DesignerDataConnection Constructor (String^, String^, String^)
.NET Framework (current version)
Initializes a new instance of the DesignerDataConnection class with the specified name, data provider, and connection string.
Assembly: System.Design (in System.Design.dll)
public:
DesignerDataConnection(
String^ name,
String^ providerName,
String^ connectionString
)
Parameters
- name
-
Type:
System::String^
The name associated with this connection.
- providerName
-
Type:
System::String^
The name of the provider object used to access the underlying data store
- connectionString
-
Type:
System::String^
The string that specifies how to connect to the data store.
Use this constructor to create DesignerDataConnection objects that are not created from the application's configuration file. When you use this constructor, the IsConfigured property is set to false.
.NET Framework
Available since 2.0
Available since 2.0
Show: