ExecuteSql.ExecuteWithResults 메서드 (String, Object)
코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Shared Function ExecuteWithResults ( _
query As String, _
con As Object _
) As DataTable
‘사용 방법
Dim query As String
Dim con As Object
Dim returnValue As DataTable
returnValue = ExecuteSql.ExecuteWithResults(query, _
con)
public static DataTable ExecuteWithResults(
string query,
Object con
)
public:
static DataTable^ ExecuteWithResults(
String^ query,
Object^ con
)
static member ExecuteWithResults :
query:string *
con:Object -> DataTable
public static function ExecuteWithResults(
query : String,
con : Object
) : DataTable
매개 변수
- query
유형: System.String
A string value for the query.
- con
유형: System.Object
The connection object used in the query.
반환 값
유형: System.Data.DataTable
The result of the query