Partager via


WebTest.AddDataSource, méthode (String, String, String, DataBindingAccessMethod, DataBindingSelectColumns, array<String )

Espace de noms :  Microsoft.VisualStudio.TestTools.WebTesting
Assembly :  Microsoft.VisualStudio.QualityTools.WebTestFramework (dans Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntaxe

'Déclaration
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[]
)

Paramètres

Sécurité .NET Framework

Voir aussi

Référence

WebTest Classe

AddDataSource, surcharge

Microsoft.VisualStudio.TestTools.WebTesting, espace de noms