다음을 통해 공유


ExecuteWithResults 메서드 (StringCollection)

Executes a batch of Transact-SQL statements that return multiple result sets.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo.dll의 Microsoft.SqlServer.ConnectionInfo

구문

‘선언
Public Function ExecuteWithResults ( _
    sqlCommands As StringCollection _
) As DataSet()
‘사용 방법
Dim instance As ServerConnection
Dim sqlCommands As StringCollection
Dim returnValue As DataSet()

returnValue = instance.ExecuteWithResults(sqlCommands)
public DataSet[] ExecuteWithResults(
    StringCollection sqlCommands
)
public:
array<DataSet^>^ ExecuteWithResults(
    StringCollection^ sqlCommands
)
member ExecuteWithResults : 
        sqlCommands:StringCollection -> DataSet[] 
public function ExecuteWithResults(
    sqlCommands : StringCollection
) : DataSet[]

매개 변수

반환 값

형식: array<System.Data. . :: . .DataSet> [] () [] []
A DataSet system object array value that contains multiple result sets.