Share via


EditorFactoryPackage.SetSite Method

Called when the shell loads editor.

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

Syntax

'Declaration
Public Overrides Function SetSite ( _
    sp As IServiceProvider _
) As Integer
'Usage
Dim instance As EditorFactoryPackage 
Dim sp As IServiceProvider 
Dim returnValue As Integer 

returnValue = instance.SetSite(sp)
public override int SetSite(
    IServiceProvider sp
)
public:
virtual int SetSite(
    IServiceProvider^ sp
) override
abstract SetSite : 
        sp:IServiceProvider -> int  
override SetSite : 
        sp:IServiceProvider -> int
public override function SetSite(
    sp : IServiceProvider
) : int

Parameters

  • sp
    Type: IServiceProvider
    Visual Studio service provider for editor frame.

Return Value

Type: System.Int32
A fully initialized object.

Implements

IVsPackageSetSite(IServiceProvider)

See Also

Reference

EditorFactoryPackage Class

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