SqlScriptEditorControl.CreateInstance Method
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.
Creates an instance of the SqlScriptEditorControl.
Overloads
CreateInstance(Object, Boolean, Boolean) |
Creates an instance of the SqlScriptEditorControl class. |
CreateInstance(Object, Boolean, String) |
Creates a new instance of the SqlScriptEditorControl class. |
CreateInstance(Object, Boolean, Boolean)
Creates an instance of the SqlScriptEditorControl class.
public:
static Microsoft::SqlServer::Management::UI::VSIntegration::Editors::SqlScriptEditorControl ^ CreateInstance(System::Object ^ serviceProvider, bool withEncoding, bool isSqlObjectDocument);
public static Microsoft.SqlServer.Management.UI.VSIntegration.Editors.SqlScriptEditorControl CreateInstance (object serviceProvider, bool withEncoding, bool isSqlObjectDocument);
static member CreateInstance : obj * bool * bool -> Microsoft.SqlServer.Management.UI.VSIntegration.Editors.SqlScriptEditorControl
Public Shared Function CreateInstance (serviceProvider As Object, withEncoding As Boolean, isSqlObjectDocument As Boolean) As SqlScriptEditorControl
Parameters
- withEncoding
- Boolean
A Boolean value that is True
if the editor has encoding.
- isSqlObjectDocument
- Boolean
A Boolean value that is True
if it is a SQL object document.
Returns
An initialized SqlScriptEditorControl object.
Applies to
CreateInstance(Object, Boolean, String)
Creates a new instance of the SqlScriptEditorControl class.
public:
static Microsoft::SqlServer::Management::UI::VSIntegration::Editors::SqlScriptEditorControl ^ CreateInstance(System::Object ^ serviceProvider, bool withEncoding, System::String ^ moniker);
public static Microsoft.SqlServer.Management.UI.VSIntegration.Editors.SqlScriptEditorControl CreateInstance (object serviceProvider, bool withEncoding, string moniker);
static member CreateInstance : obj * bool * string -> Microsoft.SqlServer.Management.UI.VSIntegration.Editors.SqlScriptEditorControl
Public Shared Function CreateInstance (serviceProvider As Object, withEncoding As Boolean, moniker As String) As SqlScriptEditorControl
Parameters
- withEncoding
- Boolean
A Boolean value that is True
if the editor has encoding.
- moniker
- String
A string value that contains the document moniker.
Returns
An initialized SqlScriptEditorControl object.