System.Design 2.0.0.0 System.Object

The object represents a connection to a data store in the design tool. Typically a object is returned as part of the property, and is created either by reading the application's configuration file or by calling the method.

Represents a connection to a data store in a design tool. This class cannot be inherited.

- Constructor
  2.0.0.0

  Use this constructor to create objects that are not created from the application's configuration file. When you use this constructor, the property is set to false.

  Initializes a new instance of the class with the specified name, data provider, and connection string.

  The name associated with this connection.
  The name of the provider object used to access the underlying data store
  The string that specifies how to connect to the data store.
- Constructor
  2.0.0.0

  Use this constructor when you need to specify the value of the property, such as when you are creating a object from information stored in the application's configuration file. The property is set to the value of the parameter.

  Initializes a new instance of the class with the specified name, data provider, and connection string, and indicates whether the connection was loaded from a configuration file.

  The name associated with this connection.
  The name of the provider object used to access the underlying data store.
  The string that specifies how to connect to the data store.
  true to indicate the connection was created from information stored in the application's configuration file; otherwise, false.
- Property
  2.0.0.0
  System.String To be added.

  The property contains the connection string used by the application for connecting to the data store. You must use the method to return a connection string suitable for use in the design environment.

  Gets the application connection string defined for the connection.

- Property
  2.0.0.0
  System.Boolean To be added.

  The property will be true if the object was read from the application's configuration file, or if the object was written to the application's configuration file by the method.

  When the is true, the property is set to the name of the connection as defined in the connectionStrings Element (ASP.NET Settings Schema) of the configuration file.

  Gets a value indicating whether the connection information is in the application's configuration file.

- Property
  2.0.0.0
  System.String To be added.

  The property contains the name that identifies a specific connection in an application configuration file or a list of data connections. When the property is true, property is used as the name attribute in the connectionStrings configuration element, or is returned from the method.

  Gets the name of the data connection.

- Property
  2.0.0.0
  System.String To be added. To be added.

  Gets the name of the provider used to access the underlying data store.