Dela via


DataProvider.SetConnectionAndQuery Method

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

Parameters