ScriptFactory.CreateNewSqlObjectDocument Method

Creates a new SQL script with an URL as a moniker.

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

Syntax

'Declaration
Public Sub CreateNewSqlObjectDocument ( _
    url As String, _
    name As String, _
    text As String _
)
'Usage
Dim instance As ScriptFactory
Dim url As String
Dim name As String
Dim text As String

instance.CreateNewSqlObjectDocument(url, _
    name, text)
public void CreateNewSqlObjectDocument(
    string url,
    string name,
    string text
)
public:
virtual void CreateNewSqlObjectDocument(
    String^ url, 
    String^ name, 
    String^ text
) sealed
abstract CreateNewSqlObjectDocument : 
        url:string * 
        name:string * 
        text:string -> unit 
override CreateNewSqlObjectDocument : 
        url:string * 
        name:string * 
        text:string -> unit 
public final function CreateNewSqlObjectDocument(
    url : String, 
    name : String, 
    text : String
)

Parameters

  • name
    Type: System.String
    A string value that specifies the name of the script.
  • text
    Type: System.String
    A string value that specifies the text of the script.

Implements

IScriptFactoryCreateNewSqlObjectDocument(String, String, String)