ExecuteSql.ExecuteImmediateGetMessage Método
Executes the sql for the given connection without returning results but capturing the messages. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Shared Function ExecuteImmediateGetMessage ( _
query As String, _
con As Object _
) As ArrayList
'Uso
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
Parámetros
- query
Tipo: System.String
A string value for the query.
- con
Tipo: System.Object
The connection object used in the query.
Valor devuelto
Tipo: System.Collections.ArrayList
The sql for the given connection without returning results but capturing the messages.