ExecuteSql.ExecuteWithResults Método (StringCollection, Object)
No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Shared Function ExecuteWithResults ( _
query As StringCollection, _
con As Object _
) As DataTable
'Uso
Dim query As StringCollection
Dim con As Object
Dim returnValue As DataTable
returnValue = ExecuteSql.ExecuteWithResults(query, _
con)
public static DataTable ExecuteWithResults(
StringCollection query,
Object con
)
public:
static DataTable^ ExecuteWithResults(
StringCollection^ query,
Object^ con
)
static member ExecuteWithResults :
query:StringCollection *
con:Object -> DataTable
public static function ExecuteWithResults(
query : StringCollection,
con : Object
) : 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.
Valor devuelto
Tipo: System.Data.DataTable
The result of the query.