ServiceProvider(IServiceProvider) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新 ServiceProvider 物件,並使用該介面解析服務。
public:
ServiceProvider(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ sp);
public ServiceProvider(Microsoft.VisualStudio.OLE.Interop.IServiceProvider sp);
new Microsoft.SqlServer.Management.UI.VSIntegration.ServiceProvider : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> Microsoft.SqlServer.Management.UI.VSIntegration.ServiceProvider
Public Sub New (sp As IServiceProvider)
參數
用來解決服務的介面。