SCCM WebService API Reference

SCCMWebService..::..ExecuteStoredPocedure Method (DatabaseConnections, String, array<SerializableSqlParameter>[]()[][], array<SerializableSqlParameter>[]()[][]%)

Executes a stored pocedure with output parameters.

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

Syntax


[SoapHeaderAttribute]
[WebMethodAttribute]
public bool ExecuteStoredPocedure(
	DatabaseConnections databaseConnection,
	string storedProcedure,
	SerializableSqlParameter[] parameters,
	out SerializableSqlParameter[] outParameters
)
<SoapHeaderAttribute> _
<WebMethodAttribute> _
Public Function ExecuteStoredPocedure ( _
	databaseConnection As DatabaseConnections, _
	storedProcedure As String, _
	parameters As SerializableSqlParameter(), _
	<OutAttribute> ByRef outParameters As SerializableSqlParameter() _
) As Boolean
[SoapHeaderAttribute]
[WebMethodAttribute]
public:
bool^ ExecuteStoredPocedure(
	DatabaseConnections^ databaseConnection, 
	String^ storedProcedure, 
	array<SerializableSqlParameter^>^ parameters, 
	[OutAttribute] array<SerializableSqlParameter^>^% outParameters
)

Parameters

databaseConnection
Type: SCCMWebService.DataObjects..::..DatabaseConnections
The database connection.
storedProcedure
Type: String
The name of the stored procedure.
parameters
Type: array<SerializableSqlParameter>[]()[][]
The sql parameters.
outParameters
Type: array<SerializableSqlParameter>[]()[][]%
The sql out parameters.

Return Value

true if succeeded, otherwise false.