Metodo ExecuteImmediateGetMessage
Executes the sql for the given connection without returning results but capturing the messages. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Shared Function ExecuteImmediateGetMessage ( _
query As String, _
con As Object _
) As ArrayList
'Utilizzo
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
Parametri
- query
Tipo: System. . :: . .String
A string value for the query.
- con
Tipo: System. . :: . .Object
The connection object used in the query.
Valore restituito
Tipo: System.Collections. . :: . .ArrayList
The sql for the given connection without returning results but capturing the messages.