Share via


WebTest.AddDataSource Method

Definition

Overloads

AddDataSource(String, String, DataBindingAccessMethod, String[])
AddDataSource(String, String, String, DataBindingAccessMethod, String[])
AddDataSource(String, String, String, DataBindingAccessMethod, DataBindingSelectColumns, String[])

AddDataSource(String, String, DataBindingAccessMethod, String[])

public:
 virtual void AddDataSource(System::String ^ dataSourceName, System::String ^ connectionString, Microsoft::VisualStudio::TestTools::WebTesting::DataBindingAccessMethod accessMethod, ... cli::array <System::String ^> ^ tableNames);
public virtual void AddDataSource (string dataSourceName, string connectionString, Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod accessMethod, params string[] tableNames);
abstract member AddDataSource : string * string * Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod * string[] -> unit
override this.AddDataSource : string * string * Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod * string[] -> unit
Public Overridable Sub AddDataSource (dataSourceName As String, connectionString As String, accessMethod As DataBindingAccessMethod, ParamArray tableNames As String())

Parameters

dataSourceName
String
connectionString
String
tableNames
String[]

Applies to

AddDataSource(String, String, String, DataBindingAccessMethod, String[])

public:
 virtual void AddDataSource(System::String ^ dataSourceName, System::String ^ providerName, System::String ^ connectionString, Microsoft::VisualStudio::TestTools::WebTesting::DataBindingAccessMethod accessMethod, ... cli::array <System::String ^> ^ tableNames);
public virtual void AddDataSource (string dataSourceName, string providerName, string connectionString, Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod accessMethod, params string[] tableNames);
abstract member AddDataSource : string * string * string * Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod * string[] -> unit
override this.AddDataSource : string * string * string * Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod * string[] -> unit
Public Overridable Sub AddDataSource (dataSourceName As String, providerName As String, connectionString As String, accessMethod As DataBindingAccessMethod, ParamArray tableNames As String())

Parameters

dataSourceName
String
providerName
String
connectionString
String
tableNames
String[]

Applies to

AddDataSource(String, String, String, DataBindingAccessMethod, DataBindingSelectColumns, String[])

public:
 virtual void AddDataSource(System::String ^ dataSourceName, System::String ^ providerName, System::String ^ connectionString, Microsoft::VisualStudio::TestTools::WebTesting::DataBindingAccessMethod accessMethod, Microsoft::VisualStudio::TestTools::WebTesting::DataBindingSelectColumns selectColumns, ... cli::array <System::String ^> ^ tableNames);
public virtual void AddDataSource (string dataSourceName, string providerName, string connectionString, Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod accessMethod, Microsoft.VisualStudio.TestTools.WebTesting.DataBindingSelectColumns selectColumns, params string[] tableNames);
abstract member AddDataSource : string * string * string * Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod * Microsoft.VisualStudio.TestTools.WebTesting.DataBindingSelectColumns * string[] -> unit
override this.AddDataSource : string * string * string * Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod * Microsoft.VisualStudio.TestTools.WebTesting.DataBindingSelectColumns * string[] -> unit
Public Overridable Sub AddDataSource (dataSourceName As String, providerName As String, connectionString As String, accessMethod As DataBindingAccessMethod, selectColumns As DataBindingSelectColumns, ParamArray tableNames As String())

Parameters

dataSourceName
String
providerName
String
connectionString
String
selectColumns
DataBindingSelectColumns
tableNames
String[]

Applies to