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

参数

返回值

类型:System.Data. . :: . .DataTable
The result of the query.