Método ExecuteSql.ExecuteWithResults (StringCollection, Object, StatementBuilder)
Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Public Shared Function ExecuteWithResults ( _
query As StringCollection, _
con As Object, _
sb As StatementBuilder _
) As DataTable
'Uso
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
Parâmetros
- query
Tipo: System.Collections.Specialized.StringCollection
A string collection value for the query.
- con
Tipo: System.Object
The connection object used in the query.
- sb
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.StatementBuilder
Holds info for additional processing needs and formatting information.
Valor de retorno
Tipo: System.Data.DataTable
The result of the query.