共用方式為


DataSourceElement Class

Definition

The Data Source element.

public ref class DataSourceElement sealed : System::Configuration::ConfigurationElement
public sealed class DataSourceElement : System.Configuration.ConfigurationElement
type DataSourceElement = class
    inherit ConfigurationElement
Public NotInheritable Class DataSourceElement
Inherits ConfigurationElement
Inheritance
DataSourceElement

Constructors

DataSourceElement()

Properties

ConnectionString

Gets or sets the ConnectionStringSettings element in <connectionStrings> section in the .config file.

DataAccessMethod

Gets or sets the type of data access.

DataTableName

Gets or sets the name of the data table.

Name

Gets or sets the name of this configuration.

Applies to