SCCM WebService API Reference

SCCMWebService..::..GetDataSet Method (DatabaseConnections, String)

Gets a data set via sql.

Namespace:  SCCMWebService
Assembly:  SCCMWebService (in SCCMWebService.dll)

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public DataSet GetDataSet(
	DatabaseConnections databaseConnection,
	string sqlQuery
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function GetDataSet ( _
	databaseConnection As DatabaseConnections, _
	sqlQuery As String _
) As DataSet
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
DataSet^ GetDataSet(
	DatabaseConnections^ databaseConnection, 
	String^ sqlQuery
)

Parameters

databaseConnection
Type: SCCMWebService.DataObjects..::..DatabaseConnections
The database connection.
sqlQuery
Type: String
The SQL query.

Return Value

DataSet