SCCM WebService API Reference

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

Executes a stored pocedure.

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

Syntax


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

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.

Return Value

true if succeeded, otherwise false.