ExecuteImmediate 方法 (String, Object)
不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Shared Sub ExecuteImmediate ( _
query As String, _
con As Object _
)
用法
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
)
参数
- query
类型:System. . :: . .String
A string value for the query.
- con
类型:System. . :: . .Object
The connection object used in the query.