Export (0) Print
Expand All

ServiceProvider Class

Provides a unified service provider.

This API is not CLS-compliant. 

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

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

[CLSCompliantAttribute(false)]
public sealed class ServiceProvider : IServiceProvider, 
	IDisposable, IObjectWithSite

The ServiceProvider type exposes the following members.

  NameDescription
Public methodServiceProviderCreates a new ServiceProvider object and uses the given interface to resolve services.
Top

  NameDescription
Public methodDisposeReleases all the resources used by the ServiceProvider object.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetService(Guid)Gets the service object.
Public methodGetService(Type)Gets the service object.
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIObjectWithSiteGetSiteRetrieves the current site object used to resolve services.
Explicit interface implemetationPrivate methodIObjectWithSiteSetSiteSets the site object to resolve services.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft