WebTest.AddDataSource (Método) (String, String, String, DataBindingAccessMethod, DataBindingSelectColumns, array<String )
Espacio de nombres: Microsoft.VisualStudio.TestTools.WebTesting
Ensamblado: Microsoft.VisualStudio.QualityTools.WebTestFramework (en Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Sintaxis
'Declaración
Public Overridable Sub AddDataSource ( _
dataSourceName As String, _
providerName As String, _
connectionString As String, _
accessMethod As DataBindingAccessMethod, _
selectColumns As DataBindingSelectColumns, _
ParamArray tableNames As String() _
)
public virtual void AddDataSource(
string dataSourceName,
string providerName,
string connectionString,
DataBindingAccessMethod accessMethod,
DataBindingSelectColumns selectColumns,
params string[] tableNames
)
public:
virtual void AddDataSource(
String^ dataSourceName,
String^ providerName,
String^ connectionString,
DataBindingAccessMethod accessMethod,
DataBindingSelectColumns selectColumns,
... array<String^>^ tableNames
)
abstract AddDataSource :
dataSourceName:string *
providerName:string *
connectionString:string *
accessMethod:DataBindingAccessMethod *
selectColumns:DataBindingSelectColumns *
tableNames:string[] -> unit
override AddDataSource :
dataSourceName:string *
providerName:string *
connectionString:string *
accessMethod:DataBindingAccessMethod *
selectColumns:DataBindingSelectColumns *
tableNames:string[] -> unit
public function AddDataSource(
dataSourceName : String,
providerName : String,
connectionString : String,
accessMethod : DataBindingAccessMethod,
selectColumns : DataBindingSelectColumns,
... tableNames : String[]
)
Parámetros
- dataSourceName
Tipo: System.String
- providerName
Tipo: System.String
- connectionString
Tipo: System.String
- accessMethod
Tipo: Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod
- selectColumns
Tipo: Microsoft.VisualStudio.TestTools.WebTesting.DataBindingSelectColumns
- tableNames
Tipo: array<System.String[]
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.TestTools.WebTesting (Espacio de nombres)