ExcelService.SetParameters Method

SharePoint 2010

Sets multiple published parameters with a single Web Service call.

Namespace:  Microsoft.Office.Excel.Server.WebServices
Assembly:  Microsoft.Office.Excel.Server.WebServices (in Microsoft.Office.Excel.Server.WebServices.dll)

[WebMethodAttribute]
public void SetParameters(
	string sessionId,
	ParameterInfo[] parameters,
	out Status[] status
)

Parameters

sessionId
Type: System.String

The Excel Web Services session ID.

parameters
Type: []

An array ofParameterInfo class.

status
Type: []

Alert information.

The objects must be values, that is, numbers or text. This method does not support formulas.

Setting values into a cell replaces the previous values, but does not affect the formatting of the cell. Passing a a null reference (Nothing in Visual Basic) value clears the respective parameter.

Show: