Package.FileOpenAccess Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the file access setting for the package.
public:
 property System::IO::FileAccess FileOpenAccess { System::IO::FileAccess get(); };public System.IO.FileAccess FileOpenAccess { get; }member this.FileOpenAccess : System.IO.FileAccessPublic ReadOnly Property FileOpenAccess As FileAccessProperty Value
One of the FileAccess values: Read, Write, or ReadWrite.
Exceptions
The package is not open (Dispose(Boolean) or Close() has been called).
Remarks
The FileOpenAccess property has no default value. The file access setting is specified in the Package constructor call when you create a new package, or in the Open call when you open an existing package.