Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataSourceElement Class

 

Represents a data source element as an XML tag within a configuration file.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

System.Object
  System.Configuration.ConfigurationElement
    Microsoft.VisualStudio.TestTools.UnitTesting.DataSourceElement

[<Sealed>]
type DataSourceElement = 
    class
        inherit ConfigurationElement
    end

NameDescription
System_CAPS_pubmethodDataSourceElement()

Initializes a new instance of the DataSourceElement class.

NameDescription
System_CAPS_pubpropertyConnectionString

Gets or sets the connection string setting element in the <connectionStrings> section in the app.config file.

System_CAPS_pubpropertyDataAccessMethod

Gets or sets the data source access method element in the app.config file.

System_CAPS_pubpropertyDataTableName

Gets or sets the table name setting element in the app.config file.

System_CAPS_pubpropertyElementInformation

(Inherited from ConfigurationElement.)

System_CAPS_protpropertyElementProperty

(Inherited from ConfigurationElement.)

System_CAPS_protpropertyItem(ConfigurationProperty)

(Inherited from ConfigurationElement.)

System_CAPS_protpropertyItem(String)

(Inherited from ConfigurationElement.)

System_CAPS_pubpropertyLockAllAttributesExcept

(Inherited from ConfigurationElement.)

System_CAPS_pubpropertyLockAllElementsExcept

(Inherited from ConfigurationElement.)

System_CAPS_pubpropertyLockAttributes

(Inherited from ConfigurationElement.)

System_CAPS_pubpropertyLockElements

(Inherited from ConfigurationElement.)

System_CAPS_pubpropertyLockItem

(Inherited from ConfigurationElement.)

System_CAPS_pubpropertyName

Gets or sets the data source name setting element in the app.config file.

System_CAPS_protpropertyProperties

(Inherited from ConfigurationElement.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: