Share via


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

  • con
    Type: System.Object
    The connection object used in the query.

Return Value

Type: System.Data.DataTable
The result of the query.

See Also

Reference

ExecuteSql Class

ExecuteWithResults Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace