SCCM WebService API Reference

SCCMWebService..::..GetDataSetCompressed7zip Method

Gets a compressed data set via sql.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public byte[] GetDataSetCompressed7zip(
	DatabaseConnections databaseConnection,
	string sqlQuery
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function GetDataSetCompressed7zip ( _
	databaseConnection As DatabaseConnections, _
	sqlQuery As String _
) As Byte()
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
array<unsigned char^>^ GetDataSetCompressed7zip(
	DatabaseConnections^ databaseConnection, 
	String^ sqlQuery
)

Parameters

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

Return Value

Compressed byte array.