Méthode DataProvider.SetConnectionAndQuery
Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Sub SetConnectionAndQuery ( _
execSql As ExecuteSql, _
query As String _
)
'Utilisation
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
)
Paramètres
- execSql
Type : Microsoft.SqlServer.Management.Sdk.Sfc.ExecuteSql
The executed query
- query
Type : System.String
A String that represents the query.