Condividi tramite


Metodo SetConnectionAndQuery

Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Sub SetConnectionAndQuery ( _
    execSql As ExecuteSql, _
    query As String _
)
'Utilizzo
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
)

Parametri