WebTest.AddDataSource 方法 (String, String, DataBindingAccessMethod, array<String[])
命名空间: Microsoft.VisualStudio.TestTools.WebTesting
程序集: Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
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[]
)
参数
- dataSourceName
类型:String
- connectionString
类型:String
- tableNames
类型:array<String[]
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。