DataProvider.SetConnectionAndQuery Método
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 Sub SetConnectionAndQuery ( _
execSql As ExecuteSql, _
query As String _
)
'Uso
Dim instance As DataProvider
Dim execSql As ExecuteSql
Dim query As String
instance.SetConnectionAndQuery(execSql, _
query)
public void SetConnectionAndQuery(
ExecuteSql execSql,
string query
)
public:
void SetConnectionAndQuery(
ExecuteSql^ execSql,
String^ query
)
member SetConnectionAndQuery :
execSql:ExecuteSql *
query:string -> unit
public function SetConnectionAndQuery(
execSql : ExecuteSql,
query : String
)
Parámetros
- execSql
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ExecuteSql
The executed query
- query
Tipo: System.String
A String that represents the query.