EditorFactoryPackage.IServiceProvider.QueryService 메서드
Interop provider.
네임스페이스: Microsoft.SqlServer.Management.UI.VSIntegration.Editors
어셈블리: SQLEditors(SQLEditors.dll)
구문
‘선언
Private Function QueryService ( _
ByRef serviceGuid As Guid, _
ByRef interfaceGuid As Guid, _
<OutAttribute> ByRef service As IntPtr _
) As Integer Implements IServiceProvider.QueryService
‘사용 방법
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는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- serviceGuid
유형: System.Guid%
A pointer to a Guid.
- interfaceGuid
유형: System.Guid%
A pointer to a Guid.
- service
유형: System.IntPtr%
A pointer to a IntPt.
반환 값
유형: System.Int32
A defined integer value such as S_OK.
구현
IServiceProviderQueryService(Guid, Guid, IntPtr)
참고 항목
참조
Microsoft.SqlServer.Management.UI.VSIntegration.Editors 네임스페이스