ScriptFactory.CreateNewBlankScript 메서드 (ScriptType, UIConnectionInfo, IDbConnection)

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.

네임스페이스:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
어셈블리:  SQLEditors(SQLEditors.dll)

구문

‘선언
Public Function CreateNewBlankScript ( _
    scriptType As ScriptType, _
    ci As UIConnectionInfo, _
    liveCon As IDbConnection _
) As Object
‘사용 방법
Dim instance As ScriptFactory 
Dim scriptType As ScriptType 
Dim ci As UIConnectionInfo 
Dim liveCon As IDbConnection 
Dim returnValue As Object 

returnValue = instance.CreateNewBlankScript(scriptType, _
    ci, liveCon)
public Object CreateNewBlankScript(
    ScriptType scriptType,
    UIConnectionInfo ci,
    IDbConnection liveCon
)
public:
virtual Object^ CreateNewBlankScript(
    ScriptType scriptType, 
    UIConnectionInfo^ ci, 
    IDbConnection^ liveCon
) sealed
abstract CreateNewBlankScript : 
        scriptType:ScriptType * 
        ci:UIConnectionInfo * 
        liveCon:IDbConnection -> Object  
override CreateNewBlankScript : 
        scriptType:ScriptType * 
        ci:UIConnectionInfo * 
        liveCon:IDbConnection -> Object
public final function CreateNewBlankScript(
    scriptType : ScriptType, 
    ci : UIConnectionInfo, 
    liveCon : IDbConnection
) : Object

매개 변수

  • scriptType
    유형: ScriptType
    The ScriptType of the script.
  • liveCon
    유형: System.Data.IDbConnection
    A IDbConnection that can be associated with the new editor. Can be non-null only if ci parameter is non-null/non-empty. Should be in sync with connectionInfoList parameter. ci parameter is non-null. Should be in sync with ci parameter.

반환 값

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

참고 항목

참조

ScriptFactory 클래스

CreateNewBlankScript 오버로드

Microsoft.SqlServer.Management.UI.VSIntegration.Editors 네임스페이스