ExecuteSql.ExecuteWithResults Method (StringCollection, Object, StatementBuilder)
Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Shared Function ExecuteWithResults ( _
query As StringCollection, _
con As Object, _
sb As StatementBuilder _
) As DataTable
'Usage
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
Parameters
- query
Type: System.Collections.Specialized.StringCollection
A string collection value for the query.
- con
Type: System.Object
The connection object used in the query.
- sb
Type: Microsoft.SqlServer.Management.Sdk.Sfc.StatementBuilder
Holds info for additional processing needs and formatting information.
Return Value
Type: System.Data.DataTable
The result of the query.