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