ExecuteWithResults 메서드 (String)
Executes a Transact-SQL statement that returns a result set.
네임스페이스: Microsoft.SqlServer.Management.Common
어셈블리: Microsoft.SqlServer.ConnectionInfo.dll의 Microsoft.SqlServer.ConnectionInfo
구문
‘선언
Public Function ExecuteWithResults ( _
sqlCommand As String _
) As DataSet
‘사용 방법
Dim instance As ServerConnection
Dim sqlCommand As String
Dim returnValue As DataSet
returnValue = instance.ExecuteWithResults(sqlCommand)
public DataSet ExecuteWithResults(
string sqlCommand
)
public:
DataSet^ ExecuteWithResults(
String^ sqlCommand
)
member ExecuteWithResults :
sqlCommand:string -> DataSet
public function ExecuteWithResults(
sqlCommand : String
) : DataSet
매개 변수
- sqlCommand
형식: System. . :: . .String
A String value that specifies the Transact-SQL command to be executed.
반환 값
형식: System.Data. . :: . .DataSet
A DataSet system object value that contains the result set.