Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Executes a query and returns a DataTable with the specified results. 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 Function ExecuteWithResults ( _
query As String _
) As DataTable
'Usage
Dim instance As ExecuteSql
Dim query As String
Dim returnValue As DataTable
returnValue = instance.ExecuteWithResults(query)
public DataTable ExecuteWithResults(
string query
)
public:
DataTable^ ExecuteWithResults(
String^ query
)
member ExecuteWithResults :
query:string -> DataTable
public function ExecuteWithResults(
query : String
) : DataTable
Parameters
- query
Type: System.String
A string value for the query.
Return Value
Type: System.Data.DataTable
The DataTable with the results.