SCCM WebService API Reference

SCCMWebService..::..GetSQLStringValue Method

Gets a string value via sql.

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

Syntax


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

Parameters

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

Return Value

String