ScriptFactory.OpenFileMode Property

Definition

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:

  1. Connected - no prompts, uses all the above information.

  2. Disconnected - no prompts, purposely ignores above information if any.

  3. Prompt - prompts every time.

Applies to