Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
General Reference
Reference
Reference for WPSC
 Save Method (WPSC)

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
Save Method (WPSC)

Saves a new or modified property to the SharePoint database.

Save(Async, CallBackFunction);

Parameters

Parameter Description

Async

Boolean value that tells the function how to save. If false, CallBackFunction is not called until the server is finished processing the save request. If true, it is called right away and the save request processes in the background on the server.

CallBackFunction(Boolean bSucceeded, string strExceptionMessage) 

A reference to the function to call when the save request is complete.

If you specify CallBackFunction, it will get passed two parameters. The first parameter is a Boolean value, which is true if the save succeeds and false if the save fails. The second parameter is a string that contains the exception text passed down from the server if the save fails. If the save succeeds, or no exception message is passed from the server, it is set to an empty string.

WPSC.Save true, GetRef(myResultFunction)
WPSC.Save (true, myResultFunction);

Applies to: WPSC Object

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker