ExecuteSql.ExecuteWithResults 메서드 (StringCollection, Object, StatementBuilder)
코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Shared Function ExecuteWithResults ( _
query As StringCollection, _
con As Object, _
sb As StatementBuilder _
) As DataTable
‘사용 방법
Dim query As StringCollection
Dim con As Object
Dim sb As StatementBuilder
Dim returnValue As DataTable
returnValue = ExecuteSql.ExecuteWithResults(query, _
con, sb)
public static DataTable ExecuteWithResults(
StringCollection query,
Object con,
StatementBuilder sb
)
public:
static DataTable^ ExecuteWithResults(
StringCollection^ query,
Object^ con,
StatementBuilder^ sb
)
static member ExecuteWithResults :
query:StringCollection *
con:Object *
sb:StatementBuilder -> DataTable
public static function ExecuteWithResults(
query : StringCollection,
con : Object,
sb : StatementBuilder
) : DataTable
매개 변수
- query
유형: System.Collections.Specialized.StringCollection
A string collection value for the query.
- con
유형: System.Object
The connection object used in the query.
- sb
유형: Microsoft.SqlServer.Management.Sdk.Sfc.StatementBuilder
Holds info for additional processing needs and formatting information.
반환 값
유형: System.Data.DataTable
The result of the query.