ExecuteSql.ExecuteWithResults 메서드 (StringCollection, 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 StringCollection, _
con As Object _
) As DataTable
‘사용 방법
Dim query As StringCollection
Dim con As Object
Dim returnValue As DataTable
returnValue = ExecuteSql.ExecuteWithResults(query, _
con)
public static DataTable ExecuteWithResults(
StringCollection query,
Object con
)
public:
static DataTable^ ExecuteWithResults(
StringCollection^ query,
Object^ con
)
static member ExecuteWithResults :
query:StringCollection *
con:Object -> DataTable
public static function ExecuteWithResults(
query : StringCollection,
con : Object
) : DataTable
매개 변수
- query
유형: System.Collections.Specialized.StringCollection
A string collection value for the query.
- con
유형: System.Object
The connection object used in the query.
반환 값
유형: System.Data.DataTable
The result of the query.