ExecuteSql.ExecuteImmediate Method (String, Object)
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 Shared Sub ExecuteImmediate ( _
query As String, _
con As Object _
)
'Usage
Dim query As String
Dim con As Object
ExecuteSql.ExecuteImmediate(query, con)
public static void ExecuteImmediate(
string query,
Object con
)
public:
static void ExecuteImmediate(
String^ query,
Object^ con
)
static member ExecuteImmediate :
query:string *
con:Object -> unit
public static function ExecuteImmediate(
query : String,
con : Object
)
Parameters
- query
Type: System.String
A string value for the query.
- con
Type: System.Object
The connection object used in the query.