ServiceProvider.IObjectWithSite.GetSite Method (Guid, IntPtr)

 

Applies To: SQL Server 2016 Preview

Retrieves the current site object used to resolve services.

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

Syntax

void IObjectWithSite.GetSite(
    ref Guid riid,
    out IntPtr ppv
)
private:
virtual void GetSite(
    Guid% riid,
    [OutAttribute] IntPtr% ppv
) sealed = IObjectWithSite::GetSite
private abstract GetSite : 
        riid:Guid byref *
        ppv:nativeint byref -> unit
private override GetSite : 
        riid:Guid byref *
        ppv:nativeint byref -> unit
Private Sub GetSite (
    ByRef riid As Guid,
    <OutAttribute> ByRef ppv As IntPtr
)
    Implements IObjectWithSite.GetSite

Parameters

  • riid
    Type: System.Guid

    The IID of the interface pointer that should be returned in ppv.

  • ppv
    Type: System.IntPtr

    The address of the caller's void* variable.

Implements

IObjectWithSite.GetSite(Guid, IntPtr)

See Also

ServiceProvider Class
Microsoft.SqlServer.Management.UI.VSIntegration Namespace

Return to top