ExecuteSql.ExecuteImmediateGetMessage 메서드
Executes the sql for the given connection without returning results but capturing the messages. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Shared Function ExecuteImmediateGetMessage ( _
query As String, _
con As Object _
) As ArrayList
‘사용 방법
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
매개 변수
- query
유형: System.String
A string value for the query.
- con
유형: System.Object
The connection object used in the query.
반환 값
유형: System.Collections.ArrayList
The sql for the given connection without returning results but capturing the messages.