WebTest.AddDataSource 메서드 (String, String, String, DataBindingAccessMethod, DataBindingSelectColumns, array<String )
네임스페이스: Microsoft.VisualStudio.TestTools.WebTesting
어셈블리: Microsoft.VisualStudio.QualityTools.WebTestFramework(Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
구문
‘선언
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[]
)
매개 변수
- dataSourceName
형식: System.String
- providerName
형식: System.String
- connectionString
형식: System.String
- accessMethod
형식: Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAccessMethod
- selectColumns
형식: Microsoft.VisualStudio.TestTools.WebTesting.DataBindingSelectColumns
- tableNames
형식: array<System.String[]
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.