ScriptFactory.OpenFileMode 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 or sets the current file open mode used to control the behavior in obtaining a current connection for each file opened.
public:
property Microsoft::SqlServer::Management::UI::VSIntegration::Editors::OpenFileModeEnum OpenFileMode { Microsoft::SqlServer::Management::UI::VSIntegration::Editors::OpenFileModeEnum get(); void set(Microsoft::SqlServer::Management::UI::VSIntegration::Editors::OpenFileModeEnum value); };
public Microsoft.SqlServer.Management.UI.VSIntegration.Editors.OpenFileModeEnum OpenFileMode { get; set; }
member this.OpenFileMode : Microsoft.SqlServer.Management.UI.VSIntegration.Editors.OpenFileModeEnum with get, set
Public Property OpenFileMode As OpenFileModeEnum
Property Value
An open file mode enumeration object.
Implements
Remarks
There are several ways to proceed with opening an editor instance on an existing file:
Connected - no prompts, uses all the above information.
Disconnected - no prompts, purposely ignores above information if any.
Prompt - prompts every time.