Metodo WebTest.AddDataSource (String, String, DataBindingAccessMethod, array<String[])
Spazio dei nomi: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Sintassi
'Dichiarazione
Public Overridable Sub AddDataSource ( _
dataSourceName As String, _
connectionString As String, _
accessMethod As DataBindingAccessMethod, _
ParamArray tableNames As String() _
)
public virtual void AddDataSource(
string dataSourceName,
string connectionString,
DataBindingAccessMethod accessMethod,
params string[] tableNames
)
public:
virtual void AddDataSource(
String^ dataSourceName,
String^ connectionString,
DataBindingAccessMethod accessMethod,
... array<String^>^ tableNames
)
abstract AddDataSource :
dataSourceName:string *
connectionString:string *
accessMethod:DataBindingAccessMethod *
tableNames:string[] -> unit
override AddDataSource :
dataSourceName:string *
connectionString:string *
accessMethod:DataBindingAccessMethod *
tableNames:string[] -> unit
public function AddDataSource(
dataSourceName : String,
connectionString : String,
accessMethod : DataBindingAccessMethod,
... tableNames : String[]
)
Parametri
- dataSourceName
Tipo: String
- connectionString
Tipo: String
- accessMethod
Tipo: Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod
- tableNames
Tipo: array<String[]
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.