SPOpenBinaryOptions enumeration
Collapse the table of content
Expand the table of content

SPOpenBinaryOptions enumeration

Provides values to pass when opening a binary stream file when using the OpenBinary or OpenBinaryStream methods.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum SPOpenBinaryOptions

Member nameDescription
NoneProvides no options on opening the binary file stream.
UnprotectedEnables the caller to bypass the Information Rights Management (IRM) policies on a document library and receive a unprotected copy of the file.
SkipVirusScanEnables opening a binary stream file without running a virus scan.
© 2016 Microsoft