Metodo GetDataReader (String)
Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Gets a data reader to execute the specified Transact-SQL batch.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Function GetDataReader ( _
query As String _
) As SqlDataReader
'Utilizzo
Dim instance As ExecuteSql
Dim query As String
Dim returnValue As SqlDataReader
returnValue = instance.GetDataReader(query)
public SqlDataReader GetDataReader(
string query
)
public:
SqlDataReader^ GetDataReader(
String^ query
)
member GetDataReader :
query:string -> SqlDataReader
public function GetDataReader(
query : String
) : SqlDataReader
Parametri
- query
Tipo: System. . :: . .String
A String value specifying the Transact-SQL statements to be run.
Valore restituito
Tipo: System.Data.SqlClient. . :: . .SqlDataReader
A SqlDataReader object that can be used to process the result sets returned by the Transact-SQL statements.
Vedere anche