ExecuteSql.ExecuteImmediateGetMessage Method
Executes the sql for the given connection without returning results but capturing the messages. 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 Function ExecuteImmediateGetMessage ( _
query As String, _
con As Object _
) As ArrayList
'Usage
Dim query As String
Dim con As Object
Dim returnValue As ArrayList
returnValue = ExecuteSql.ExecuteImmediateGetMessage(query, _
con)
public static ArrayList ExecuteImmediateGetMessage(
string query,
Object con
)
public:
static ArrayList^ ExecuteImmediateGetMessage(
String^ query,
Object^ con
)
static member ExecuteImmediateGetMessage :
query:string *
con:Object -> ArrayList
public static function ExecuteImmediateGetMessage(
query : String,
con : Object
) : ArrayList
Parameters
- query
Type: System.String
A string value for the query.
- con
Type: System.Object
The connection object used in the query.
Return Value
Type: System.Collections.ArrayList
The sql for the given connection without returning results but capturing the messages.