ChartWebPartDataStorage.Save Method (DataSet, String)

Saves the specified DataSet object into the custom session state as the serialized data stream.

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)

Syntax

'Declaration
Public Shared Function Save ( _
    dataSet As DataSet, _
    UserIdentity As String _
) As String
'Usage
Dim dataSet As DataSet
Dim UserIdentity As String
Dim returnValue As String

returnValue = ChartWebPartDataStorage.Save(dataSet, _
    UserIdentity)
public static string Save(
    DataSet dataSet,
    string UserIdentity
)

Parameters

Return Value

Type: System.String
The String object that represents the session key used to retrieve the serialized data set from the custom session state.

Remarks

This method saves the specified DataSet object and user ID into the custom session state, and then returns the session key, which will be used with the user ID to retrieve the stored data.

See Also

Reference

ChartWebPartDataStorage Class

ChartWebPartDataStorage Members

Save Overload

Microsoft.Office.Server.WebControls Namespace