Share via


ScriptFactory.CreateNewBlankScript Method (ScriptType)

Creates and opens new blank script of type of editor that is implemented by the assembly. The new script is added to the miscellaneous project.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Public Function CreateNewBlankScript ( _
    scriptType As ScriptType _
) As Object
'Usage
Dim instance As ScriptFactory 
Dim scriptType As ScriptType 
Dim returnValue As Object 

returnValue = instance.CreateNewBlankScript(scriptType)
public Object CreateNewBlankScript(
    ScriptType scriptType
)
public:
virtual Object^ CreateNewBlankScript(
    ScriptType scriptType
) sealed
abstract CreateNewBlankScript : 
        scriptType:ScriptType -> Object  
override CreateNewBlankScript : 
        scriptType:ScriptType -> Object
public final function CreateNewBlankScript(
    scriptType : ScriptType
) : Object

Parameters

  • scriptType
    Type: ScriptType
    The ScriptType of the script.

Return Value

Type: System.Object
The document view Object for the new script editor.

See Also

Reference

ScriptFactory Class

CreateNewBlankScript Overload

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace