Share via


ScriptFactory.DesignTableOrView Method

Used by external components to create a new instance of an assisted editor of a given type. Propagates back any exception that was raised during the initialization of the editor.

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

Syntax

'Declaration
Public Sub DesignTableOrView ( _
    editorType As DocumentType, _
    aeOptions As DocumentOptions, _
    parentUrnString As String, _
    mc As IManagedConnection _
)
'Usage
Dim instance As ScriptFactory 
Dim editorType As DocumentType 
Dim aeOptions As DocumentOptions 
Dim parentUrnString As String 
Dim mc As IManagedConnection

instance.DesignTableOrView(editorType, _
    aeOptions, parentUrnString, mc)
public void DesignTableOrView(
    DocumentType editorType,
    DocumentOptions aeOptions,
    string parentUrnString,
    IManagedConnection mc
)
public:
virtual void DesignTableOrView(
    DocumentType editorType, 
    DocumentOptions aeOptions, 
    String^ parentUrnString, 
    IManagedConnection^ mc
) sealed
abstract DesignTableOrView : 
        editorType:DocumentType * 
        aeOptions:DocumentOptions * 
        parentUrnString:string * 
        mc:IManagedConnection -> unit  
override DesignTableOrView : 
        editorType:DocumentType * 
        aeOptions:DocumentOptions * 
        parentUrnString:string * 
        mc:IManagedConnection -> unit
public final function DesignTableOrView(
    editorType : DocumentType, 
    aeOptions : DocumentOptions, 
    parentUrnString : String, 
    mc : IManagedConnection
)

Parameters

  • parentUrnString
    Type: System.String
    A string value that specifies the parent URN.

See Also

Reference

ScriptFactory Class

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