Share via


ScriptEditorControl.OnHosted Method

Called when control is sited by Visual Studio. At this time service providers have already been stored in internal variables, so it is safe to call GetService().

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

Syntax

'Declaration
Protected MustOverride Sub OnHosted
'Usage

Me.OnHosted()
protected abstract void OnHosted()
protected:
virtual void OnHosted() abstract
abstract OnHosted : unit -> unit 
protected abstract function OnHosted()