EditorFactoryPackage.IServiceProvider.QueryService Method

Interop provider.

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

Syntax

'Declaration
Private Function QueryService ( _
    ByRef serviceGuid As Guid, _
    ByRef interfaceGuid As Guid, _
    <OutAttribute> ByRef service As IntPtr _
) As Integer Implements IServiceProvider.QueryService
'Usage
Dim instance As EditorFactoryPackage 
Dim serviceGuid As Guid 
Dim interfaceGuid As Guid 
Dim service As IntPtr 
Dim returnValue As Integer 

returnValue = CType(instance, IServiceProvider).QueryService(serviceGuid, _
    interfaceGuid, service)
int IServiceProvider.QueryService(
    ref Guid serviceGuid,
    ref Guid interfaceGuid,
    out IntPtr service
)
private:
virtual int QueryService(
    Guid% serviceGuid, 
    Guid% interfaceGuid, 
    [OutAttribute] IntPtr% service
) sealed = IServiceProvider::QueryService
private abstract QueryService : 
        serviceGuid:Guid byref * 
        interfaceGuid:Guid byref * 
        service:IntPtr byref -> int  
private override QueryService : 
        serviceGuid:Guid byref * 
        interfaceGuid:Guid byref * 
        service:IntPtr byref -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: System.Int32
A defined integer value such as S_OK.

Implements

IServiceProviderQueryService(Guid, Guid, IntPtr)

See Also

Reference

EditorFactoryPackage Class

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