ServiceProvider 클래스

Provides a unified service provider.

이 API는 CLS 규격이 아닙니다. 

상속 계층

System.Object
  Microsoft.SqlServer.Management.UI.VSIntegration.ServiceProvider

네임스페이스:  Microsoft.SqlServer.Management.UI.VSIntegration
어셈블리:  SQLEditors(SQLEditors.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
Public NotInheritable Class ServiceProvider _
    Implements IServiceProvider, IDisposable, IObjectWithSite
‘사용 방법
Dim instance As ServiceProvider
[CLSCompliantAttribute(false)]
public sealed class ServiceProvider : IServiceProvider, 
    IDisposable, IObjectWithSite
[CLSCompliantAttribute(false)]
public ref class ServiceProvider sealed : IServiceProvider, 
    IDisposable, IObjectWithSite
[<SealedAttribute>]
[<CLSCompliantAttribute(false)>]
type ServiceProvider =  
    class 
        interface IServiceProvider 
        interface IDisposable 
        interface IObjectWithSite 
    end
public final class ServiceProvider implements IServiceProvider, IDisposable, IObjectWithSite

ServiceProvider 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 ServiceProvider Creates a new ServiceProvider object and uses the given interface to resolve services.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Dispose Releases all the resources used by the ServiceProvider object.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetService(Guid) Gets the service object.
공용 메서드 GetService(Type) Gets the service object.
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 IObjectWithSiteGetSite Retrieves the current site object used to resolve services.
명시적 인터페이스 구현전용 메서드 IObjectWithSiteSetSite Sets the site object to resolve services.

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.UI.VSIntegration 네임스페이스