Метод 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.