Export (0) Print
Expand All

File.SaveBinaryDirect method

Uploads the specified file to a SharePoint site without requiring an ExecuteQuery() method call.

  Name Description
Public method Static member SaveBinaryDirect(ClientContext, String, Stream, Boolean) Uploads the specified file to a SharePoint site without requiring an ExecuteQuery() method call.
Public method Static member SaveBinaryDirect(ClientContext, String, Stream, String) Uploads the specified file to a SharePoint site with the specified Etag without requiring an ExecuteQuery() method call.
Top

The SaveBinary operation allows file sizes of about 3.3 MB. Consider using SaveBinaryDirect(ClientContext, String, Stream, Boolean) or SaveBinaryDirect(ClientContext, String, Stream, String) if you need a more efficient alternative.

Show:
© 2014 Microsoft