Condividi tramite


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

Valore restituito

Tipo: System.Collections. . :: . .ArrayList
The sql for the given connection without returning results but capturing the messages.